fix: reduced token usage, removed parameters from schema that CLIs never seem to use
This commit is contained in:
@@ -68,7 +68,6 @@ ANALYZE_WORKFLOW_FIELD_DESCRIPTIONS = {
|
||||
"List methods/functions central to analysis findings, in 'ClassName.methodName' or 'functionName' format. "
|
||||
"Prioritize those demonstrating key patterns, architectural decisions, or improvement opportunities."
|
||||
),
|
||||
"backtrack_from_step": ("If an earlier finding needs revision, specify the step number to backtrack from."),
|
||||
"images": (
|
||||
"Optional absolute paths to architecture diagrams or visual references that help with analysis context."
|
||||
),
|
||||
@@ -108,11 +107,6 @@ class AnalyzeWorkflowRequest(WorkflowRequest):
|
||||
description="Issues or concerns identified during analysis, each with severity level (critical, high, medium, low)",
|
||||
)
|
||||
|
||||
# Optional backtracking field
|
||||
backtrack_from_step: Optional[int] = Field(
|
||||
None, description=ANALYZE_WORKFLOW_FIELD_DESCRIPTIONS["backtrack_from_step"]
|
||||
)
|
||||
|
||||
# Optional images for visual context
|
||||
images: Optional[list[str]] = Field(default=None, description=ANALYZE_WORKFLOW_FIELD_DESCRIPTIONS["images"])
|
||||
|
||||
@@ -223,11 +217,6 @@ class AnalyzeTool(WorkflowTool):
|
||||
"enum": ["exploring", "low", "medium", "high", "very_high", "almost_certain", "certain"],
|
||||
"description": ANALYZE_WORKFLOW_FIELD_DESCRIPTIONS["confidence"],
|
||||
},
|
||||
"backtrack_from_step": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"description": ANALYZE_WORKFLOW_FIELD_DESCRIPTIONS["backtrack_from_step"],
|
||||
},
|
||||
"images": {
|
||||
"type": "array",
|
||||
"items": {"type": "string"},
|
||||
|
||||
Reference in New Issue
Block a user