Skip to content

Commit

Permalink
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class InsightSharingRequest(BaseComponentRequest):
task_description: str
memory: list[Message]
past_insights: list[str]
generated_at_memory_index: int
generated_at_memory_index: int = -1


class InsightSharingOutput(BaseComponentOutput):
Expand All @@ -51,4 +51,4 @@ class InsightSharingOutput(BaseComponentOutput):
stacktrace_context: list[StacktraceContext]
breadcrumb_context: list[BreadcrumbContext]
justification: str
generated_at_memory_index: int
generated_at_memory_index: int = -1
4 changes: 2 additions & 2 deletions src/seer/automation/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class StacktraceFrame(BaseModel):
abs_path: Optional[Annotated[str, Examples(specialized.file_paths)]]
line_no: Optional[int]
col_no: Optional[int]
context: list[tuple[int, str]]
context: list[tuple[int, str]] = []
repo_name: Optional[str] = None
in_app: bool = False
vars: Optional[dict[str, Any]] = None
Expand Down Expand Up @@ -289,7 +289,7 @@ def validate_stacktrace(cls, sentry_stacktrace: SentryStacktrace | Stacktrace):


class ThreadDetails(BaseModel):
id: Optional[int] = None
id: Optional[int | str] = None
name: Optional[str] = None
crashed: Optional[bool] = False
current: Optional[bool] = False
Expand Down

0 comments on commit 1147698

Please sign in to comment.