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: Rohit Malhotra <rohitvinodmalhotra@gmail.com>
21 lines
511 B
Python
21 lines
511 B
Python
from pydantic import BaseModel
|
|
|
|
|
|
class ReviewThread(BaseModel):
|
|
comment: str
|
|
files: list[str]
|
|
|
|
|
|
class GithubIssue(BaseModel):
|
|
owner: str
|
|
repo: str
|
|
number: int
|
|
title: str
|
|
body: str
|
|
thread_comments: list[str] | None = None # Added field for issue thread comments
|
|
closing_issues: list[str] | None = None
|
|
review_comments: list[str] | None = None
|
|
review_threads: list[ReviewThread] | None = None
|
|
thread_ids: list[str] | None = None
|
|
head_branch: str | None = None
|