Skip to content

Commit

Permalink
Fix type errors and unreachable code
Browse files Browse the repository at this point in the history
  • Loading branch information
openhands-agent committed Nov 13, 2024
1 parent 13bc83e commit 014aadc
Show file tree
Hide file tree
Showing 4 changed files with 403 additions and 284 deletions.
4 changes: 2 additions & 2 deletions openhands/core/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class FakeUserResponseFunc(Protocol):
def __call__(
self,
state: State,
encapsulate_solution: bool = ...,
try_parse: Callable[[Action], str] = ...,
encapsulate_solution: bool = False,
try_parse: Callable[[Action | None], str] | None = None,
) -> str: ...


Expand Down
Loading

0 comments on commit 014aadc

Please sign in to comment.