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(openai): consistently return stop reason #4771

Merged
merged 1 commit into from
Feb 6, 2025
Merged

Conversation

mudler
Copy link
Owner

@mudler mudler commented Feb 6, 2025

Description
We were not returning a stop reason when no tool was actually called (even if specified).

Fixes: #4716

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

We were not returning a stop reason when no tool was actually called
(even if specified).

Fixes: #4716

Signed-off-by: Ettore Di Giacinto <[email protected]>
Copy link

netlify bot commented Feb 6, 2025

Deploy Preview for localai ready!

Name Link
🔨 Latest commit c7750b0
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/67a491bc6e1d4000082c69b5
😎 Deploy Preview https://deploy-preview-4771--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mudler mudler added the bug Something isn't working label Feb 6, 2025
@mudler mudler merged commit 8d45670 into master Feb 6, 2025
24 of 25 checks passed
@mudler mudler deleted the fix/stop_reason branch February 6, 2025 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Calls from Semantic Kernel fail due to lack of stop reason
1 participant