Skip to content

Conversation

@pschiel
Copy link
Contributor

@pschiel pschiel commented Jan 12, 2026

Fixes #7616

Cause: agents sometimes violate the 12-character header limit because JSON Schema constraints like "maxLength": 12 are buried in nested parameter definitions and have lower attention weight compared to prominent natural language instructions in the tool description, causing the LLM occasionally to miss or forget the constraint during generation.

Fix: add it to description text in question.txt

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@pschiel pschiel marked this pull request as ready for review January 12, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Question tool throws if header length is >= 12 chars

1 participant