Skip to content

fix: add tool request error feedback to llm#1640

Open
baduyne wants to merge 1 commit into
agent0ai:mainfrom
baduyne:fix/tool-request-error-feedback-to-llm
Open

fix: add tool request error feedback to llm#1640
baduyne wants to merge 1 commit into
agent0ai:mainfrom
baduyne:fix/tool-request-error-feedback-to-llm

Conversation

@baduyne
Copy link
Copy Markdown

@baduyne baduyne commented May 14, 2026

This PR addresses three related tool request parsing issues:

Solution:
If the runtime cannot safely parse or normalize the tool arguments, it now creates a structured error message and feeds it back into the LLM context. This gives the model clear feedback about what was wrong and guides it to retry the tool call with correctly formatted arguments instead of crashing the tool execution flow.

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.

2 participants