Skip to content

Comments

feat (ai): add ignoreIncompleteToolCalls option to convertToModelMessages#7100

Merged
lgrammel merged 3 commits intomainfrom
lg/MGiHsSL
Jul 7, 2025
Merged

feat (ai): add ignoreIncompleteToolCalls option to convertToModelMessages#7100
lgrammel merged 3 commits intomainfrom
lg/MGiHsSL

Conversation

@lgrammel
Copy link
Collaborator

@lgrammel lgrammel commented Jul 7, 2025

Background

Converting UI to model messages currently throws an error for incomplete tool calls.

Summary

Add an option to ignore incomplete tool calls.

Related Issues

Fixes #7097

@lgrammel lgrammel marked this pull request as ready for review July 7, 2025 13:26
@lgrammel lgrammel merged commit 86cfc72 into main Jul 7, 2025
9 checks passed
@lgrammel lgrammel deleted the lg/MGiHsSL branch July 7, 2025 13:38
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.

Beta 5 - Incomplete tool input part breaking the whole chat history

1 participant