Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: update Ollama model configuration and enhance tool call support #421

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

miurla
Copy link
Owner

@miurla miurla commented Feb 5, 2025

ref: #419 #420

Make Ollama models configurable through .env

Use NEXT_PUBLIC_OLLAMA_MODEL. Falls back to 'deepseek-r1' if not set.

For inference models like deepseek-r1, made it possible to optionally set a separate model for tool calls using NEXT_PUBLIC_OLLAMA_TOOL_CALL_MODEL. If not set, it uses NEXT_PUBLIC_OLLAMA_MODEL

image

Copy link

vercel bot commented Feb 5, 2025

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

Name Status Preview Comments Updated (UTC)
morphic ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 5, 2025 1:35am

@miurla miurla merged commit c8656c4 into main Feb 5, 2025
2 checks passed
@miurla miurla deleted the refactor/ollama-set-up branch February 5, 2025 01:36
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant