Skip to content

Improve JSON error handling in tool parser#17

Merged
mwxely merged 1 commit intoEvolvingLMMs-Lab:mainfrom
loganionian:fix-issue-10
Feb 12, 2026
Merged

Improve JSON error handling in tool parser#17
mwxely merged 1 commit intoEvolvingLMMs-Lab:mainfrom
loganionian:fix-issue-10

Conversation

@loganionian
Copy link
Copy Markdown
Contributor

The issue seems to stem from a failure to extract tool calls from JSON responses, likely due to malformed or unexpected JSON formats. We need to enhance the error handling in the hermes_tool_parser.py to better manage JSON parsing errors, possibly by adding checks before attempting to parse the JSON and logging the problematic responses for easier debugging.

Fixes #10

@mwxely
Copy link
Copy Markdown
Collaborator

mwxely commented Feb 12, 2026

LGTM. Thanks for your contribution!

@mwxely mwxely merged commit dc2646e into EvolvingLMMs-Lab:main Feb 12, 2026
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.

Json Error in evaluation process

2 participants