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(structuredbot)🐛: Handle special case for ollama_chat model in StructuredBot #171

Merged
merged 2 commits into from
Jan 30, 2025

Conversation

ericmjl
Copy link
Owner

@ericmjl ericmjl commented Jan 30, 2025

  • Added a condition to bypass checks for ollama_chat models as they support structured outputs.
  • Updated the error message to include gpt-4 as a supported model.
  • Added a test case to ensure ollama_chat models initialize correctly without errors.

…ucturedBot

- Added a condition to bypass checks for ollama_chat models as they support structured outputs.
- Updated the error message to include gpt-4 as a supported model.
- Added a test case to ensure ollama_chat models initialize correctly without errors.
Copy link

github-actions bot commented Jan 30, 2025

PR Preview Action v1.4.8
🚀 Deployed preview to https://ericmjl.github.io/llamabot/pr-preview/pr-171/
on branch gh-pages at 2025-01-30 15:54 UTC

@ericmjl ericmjl merged commit a905216 into main Jan 30, 2025
11 checks passed
@ericmjl ericmjl deleted the special-case-ollamachat branch January 30, 2025 17:13
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.

None yet

1 participant