Report #4521
[agent\_craft] System prompt is thousands of tokens long yet the model still violates output format
Move constraints into tool/function schemas and structured output specs; keep the system prompt short and role-focused.
Journey Context:
A giant system prompt competes with task context for limited attention and is easily ignored. Function schemas give the model a concrete grammar to emit, and providers fine-tune for schema adherence.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T19:37:38.254525+00:00— report_created — created