Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: copy the whole message content when doing normalization #818

Merged
merged 2 commits into from
Jan 29, 2025
Merged

Conversation

yrobla
Copy link
Contributor

@yrobla yrobla commented Jan 29, 2025

When using tools like openiterpreter, messages come with extra keys apart from content and role, like "tool_calls". With this normalization they were stripped and the tool was broken

Closes: #812

When using tools like openiterpreter, messages come with extra keys
apart from content and role, like "tool_calls". With this normalization
they were stripped and the tool was broken

Closes: #812
@yrobla yrobla requested a review from lukehinds January 29, 2025 12:44
@yrobla yrobla merged commit 6c07434 into main Jan 29, 2025
4 checks passed
@yrobla yrobla deleted the issue-812 branch January 29, 2025 12:59
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.

OpenInterpreter fails on using tools with codegate
2 participants