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

feat(agents): Preprocess tool calls to fix common, fixable errors #560

Merged
merged 2 commits into from
Jan 20, 2025

Conversation

timonv
Copy link
Member

@timonv timonv commented Jan 20, 2025

OpenAI has a tendency to sometimes send double keys. With this, Swiftide will now take the first key and ignore any after that.

@timonv timonv changed the title feat: Preprocess tool calls to fix common, fixable errors feat(agents): Preprocess tool calls to fix common, fixable errors Jan 20, 2025
@timonv timonv merged commit 274d9d4 into master Jan 20, 2025
13 checks passed
@timonv timonv deleted the feat/agent-tools-lenient-parsing branch January 20, 2025 15:48
This was referenced Jan 20, 2025
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.

1 participant