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

Improve model token limit detection #3292

Merged
merged 4 commits into from
Nov 30, 2024
Merged

Conversation

Weves
Copy link
Contributor

@Weves Weves commented Nov 29, 2024

A few fixes:

(1) Ollama previously used a default context size of 2048. Upping that a bit.
(2) The older version of LiteLLM had a bug which made ollama + danswer error out intermittently. Fixed by upgrading (required some small changes to chat_llm accommodate for small behavior changes).

Copy link

vercel bot commented Nov 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 30, 2024 0:14am

@pablonyx pablonyx added this pull request to the merge queue Nov 30, 2024
Merged via the queue into main with commit 16863de Nov 30, 2024
12 of 13 checks passed
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.

2 participants