mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 13:52:43 +08:00
Co-authored-by: openhands <openhands@all-hands.dev> Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
21 lines
453 B
Python
21 lines
453 B
Python
from typing import Any
|
|
|
|
from litellm import BaseModel
|
|
|
|
from openhands.resolver.github_issue import GithubIssue
|
|
|
|
|
|
class ResolverOutput(BaseModel):
|
|
# NOTE: User-specified
|
|
issue: GithubIssue
|
|
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
|