You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Question tool fails to parse JSON with French accented characters (UTF-8) #7484
The question tool (introduced in v1.1.7) fails to parse JSON parameters when the question text or option labels contain French accented characters (é, è, à, ê, ù, etc.).
Expected Behavior
The interactive question dialog should display with the French text properly rendered, allowing the user to select an option.
Actual Behavior
The tool returns a JSON parsing error:
Error: The question tool was called with invalid arguments: [
{
"expected": "array",
"code": "invalid_type",
"path": ["questions"],
"message": "Invalid input: expected array, received string"
}
]
The JSON array with accented characters appears to be incorrectly parsed as a string.
Additional Context
The error suggests the JSON payload is being corrupted during transmission or parsing
This may be related to UTF-8 encoding of the parameters before validation
Activity
github-actions commentedon Jan 9, 2026
This issue might be a duplicate of existing issues. Please check:
questiontool not rendering interactive UI in OpenCode Web - only displays plain text #7464:questiontool not rendering interactive UI in OpenCode Web - only displays plain textFeel free to ignore if none of these address your specific case.
github-actions commentedon Mar 25, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.