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

Make OpenAI provider more compatible with third-party APIs #156

Merged
merged 2 commits into from
Dec 18, 2024

Conversation

M4n5ter
Copy link
Contributor

@M4n5ter M4n5ter commented Dec 18, 2024

The change swaps the order of the two model matching cases to give
    priority to processing the tool call message. This is because
    in some cases, the tool call message may be more important and
    should be processed first. The updated code first matches the
    tool call message, and then the content message. This ensures
    that the tool call message is processed correctly and promptly.
@M4n5ter M4n5ter changed the title #155 Make OpenAI Provider More Compatible with Third-Party APIs Make OpenAI Provider More Compatible with Third-Party APIs Dec 18, 2024
@M4n5ter M4n5ter changed the title Make OpenAI Provider More Compatible with Third-Party APIs Make OpenAI provider more compatible with third-party APIs Dec 18, 2024
@cvauclair
Copy link
Contributor

cvauclair commented Dec 18, 2024

Good catch @M4n5ter, thanks for the contribution!

@cvauclair cvauclair merged commit da8b5d9 into 0xPlaygrounds:main Dec 18, 2024
4 of 5 checks passed
@0xMochan 0xMochan linked an issue Dec 19, 2024 that may be closed by this pull request
1 task
@cvauclair cvauclair added this to the v0.6 milestone Dec 19, 2024
@github-actions github-actions bot mentioned this pull request Dec 19, 2024
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.

feat: Make OpenAI provider more compatible with third-party APIs
2 participants