mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 13:52:43 +08:00
Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar> Co-authored-by: José Luis Di Biase <josx@interorganic.com.ar> Co-authored-by: Oriana <oriana@camba.coop> Co-authored-by: Charlie <charlie@camba.coop> Co-authored-by: Juan Manuel Daza <61162223+juanmanueldaza@users.noreply.github.com> Co-authored-by: Juan Manuel Daza <juandaza@camba.coop> Co-authored-by: Cody Kociemba <cody@symbaventures.com> Co-authored-by: Rohit Malhotra <rohitvinodmalhotra@gmail.com> Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
21 lines
445 B
Python
21 lines
445 B
Python
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
|