Spaces:
Configuration error
Configuration error
Download openhands/resolver/resolver_output.py from flyingdarkdev/README: direct link, hf CLI and curl.
- Browser
- Download file 445 Bytes
-
https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/openhands/resolver/resolver_output.py
- Command line
-
hf download hf://spaces/flyingdarkdev/README/openhands/resolver/resolver_output.py
-
curl -L -o resolver_output.py https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/openhands/resolver/resolver_output.py
445 Bytes
| from typing import Any | |
| from litellm import BaseModel | |
| from openhands.resolver.interfaces.issue import Issue | |
| class ResolverOutput(BaseModel): | |
| # NOTE: User-specified | |
| issue: Issue | |
| issue_type: str | |
| instruction: str | |
| base_commit: str | |
| git_patch: str | |
| history: list[dict[str, Any]] | |
| metrics: dict[str, Any] | None | |
| success: bool | |
| comment_success: list[bool] | None | |
| result_explanation: str | |
| error: str | None | |