Deployment
This commit is contained in:
@@ -7,6 +7,15 @@ from pydantic import BaseModel
|
||||
from contracts.ProjectContext import ProjectContext
|
||||
|
||||
|
||||
class IssueComment(BaseModel):
|
||||
id: str
|
||||
author: str
|
||||
body: str
|
||||
created_at: int
|
||||
is_agent: bool = False
|
||||
marker: dict[str, str] = field(default_factory=dict)
|
||||
|
||||
|
||||
@dataclass
|
||||
class IssueContext:
|
||||
issue_id: str
|
||||
@@ -49,11 +58,3 @@ class IssueContext:
|
||||
parts.append(f"- @{c.author} ({c.created_at}): {c.body}")
|
||||
|
||||
return "\n".join(parts)
|
||||
|
||||
class IssueComment(BaseModel):
|
||||
id: str
|
||||
author: str
|
||||
body: str
|
||||
created_at: int
|
||||
is_agent: bool = False
|
||||
marker: dict[str, str] = field(default_factory=dict)
|
||||
|
||||
Reference in New Issue
Block a user