[aidan] feat/run-context: attach a run as removable chat context

This commit is contained in:
abccodes
2026-06-23 00:00:13 -07:00
parent fac7f46433
commit 76cb97b9d0
10 changed files with 242 additions and 21 deletions
+9
View File
@@ -271,6 +271,15 @@ class MissedRunAction(BaseModel):
ids: list[str] = Field(default_factory=list)
class AskRunBody(BaseModel):
# Answer a chat question with a finished run's transcript folded in as context.
# run_id picks the run's session to pull in; prompt is the user's question.
run_id: str
prompt: str
mode: Optional[str] = None
model: Optional[str] = None
class DraftCommitBody(BaseModel):
# The model the user settled on in the Edit Agent picker, applied to the
# workflow's run model only on Save (save-gated; Discard drops it).