fix: move format_context_block() call inside legacy-only branch in diagnose/__init__.py #37
Labels
No labels
compliance
demo
deployment
docs
enhancement
parser
patterns
performance
security
ux
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/turnstone#37
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
In
app/services/diagnose/__init__.py,format_context_block(ctx)is called unconditionally, butcontext_blockis only used in the legacy LLM path. WhenMULTI_AGENT_ENABLED=True, the call is a no-op waste.Fix
Move the
context_block = format_context_block(ctx)assignment inside theelse:branch (the legacy path).Found by
Post-implementation code review of feat/29-multi-agent-diagnose.