OpenHands/openhands/resolver/resolver_output.py
wtiger9218 f5fccab1f6
feat(resolver): implement gitlab resolver (#6458)
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>
2025-02-13 18:21:23 -05:00

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