mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 13:52:43 +08:00
22 lines
546 B
Python
22 lines
546 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
|
|
base_branch: str | None = None
|