Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Mustafa-Esoofally
Copy link
Contributor

@Mustafa-Esoofally Mustafa-Esoofally commented Oct 9, 2025

Summary

Fixes an error where message after frontend tool call causes and error.

More info: #4740 (comment)

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Improvement
  • Model update
  • Other:

Checklist

  • Code complies with style guidelines
  • Ran format/validation scripts (./scripts/format.sh and ./scripts/validate.sh)
  • Self-review completed
  • Documentation updated (comments, docstrings)
  • Examples and guides: Relevant cookbook examples have been included or updated (if applicable)
  • Tested in clean environment
  • Tests added/updated (if applicable)

@Mustafa-Esoofally Mustafa-Esoofally requested a review from a team as a code owner October 9, 2025 16:34
@Mustafa-Esoofally Mustafa-Esoofally changed the title [Fix]: messages with role 'tool' must be a response to a preceeding message with 'tool_calls' [Fix]:AGUI - message after tool call cause errors Oct 9, 2025
@Mustafa-Esoofally Mustafa-Esoofally changed the title [Fix]:AGUI - message after tool call cause errors [fix]: AGUI - message after tool call cause errors Oct 9, 2025
@Mustafa-Esoofally Mustafa-Esoofally changed the title [fix]: AGUI - message after tool call cause errors [fix] AGUI - message after tool call cause errors Oct 9, 2025
@manuhortet manuhortet merged commit b87f5b9 into main Oct 11, 2025
5 checks passed
@manuhortet manuhortet deleted the fix/agui-message-after-toolcall branch October 11, 2025 12:36
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