Pdf comment agent (#6196)

Co-authored-by: James Brunton <[email protected]>
This commit is contained in:
ConnorYoh
2026-05-01 10:19:38 +01:00
committed by GitHub
co-authored by James Brunton
parent 2dc5276e8b
commit 86774d556e
78 changed files with 5091 additions and 112 deletions
+17 -1
View File
@@ -6,7 +6,14 @@ from pydantic import Field
from stirling.models import ApiModel
from .common import ConversationMessage, ExtractedFileText, NeedContentResponse, ToolOperationStep, WorkflowOutcome
from .common import (
ConversationMessage,
ExtractedFileText,
NeedContentResponse,
SupportedCapability,
ToolOperationStep,
WorkflowOutcome,
)
class PdfEditRequest(ApiModel):
@@ -21,6 +28,15 @@ class EditPlanResponse(ApiModel):
summary: str
rationale: str | None = None
steps: list[ToolOperationStep]
resume_with: SupportedCapability | None = Field(
default=None,
description=(
"Optional: if set, Java runs the plan steps then re-invokes the orchestrator with"
" the captured tool reports attached as ToolReportArtifacts and"
" resume_with set to this capability. Used by meta-agents that need to digest a"
" specialist's output (e.g. pdf_review consulting math-auditor)."
),
)
class EditClarificationRequest(ApiModel):