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 force-pushed the question-tool-description branch from 13ed02f to 7c5d678 Compare January 17, 2026 09:34
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