[Feature]: Support local Ollama as a model provider
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 45/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- ollama, typescript
研究方向
Start by locating the existing model-provider configuration and provider implementations, then trace how chat completions, streaming, and tool calls are handled. Check how providers expose model selection and endpoint settings before assessing what Ollama needs. Done means users can configure an Ollama URL, select installed or manually entered models, and use supported chat, streaming, and tool-calling features.
由索引模型根據 Issue 內容生成。
描述
Product or interface
Desktop app
Use case and problem
Currently, the available providers primarily rely on cloud-hosted APIs. I want to use local models via Ollama to ensure complete data privacy, avoid sending proprietary code/data to external services, and eliminate ongoing API token costs.
Today, without native Ollama integration, users who work in privacy-sensitive or offline/air-gapped environments cannot easily connect and utilize their local models.
Desired behavior
Add "Ollama" to the list of configurable model providers:
- Endpoint Configuration: Allow users to specify the Ollama base URL (defaulting to
http://localhost:11434, with support for custom LAN hostnames/IPs). - Model Selection: Automatically fetch installed local models via Ollama's
/api/tagsendpoint or allow manual model tag entry (e.g.,qwen2.5-coder,llama3.3). - Core Features: Support standard chat completions, streaming responses, and tool/function calling where supported by the underlying local model.
Platform
Multiple platforms
Alternatives and additional context
- Current workaround: Setting up an OpenAI-compatible proxy or reverse proxy pointing to Ollama's
/v1endpoint, which is cumbersome to configure and maintain compared to a built-in provider option. - Native support for Ollama would streamline local AI workflows significantly.
- 主要語言
- TypeScript
- 星號
- 2.3k
- 分支
- 315
- 平均合併
- 3 小時 54 分鐘
- 30 天內合併 PR
- 9
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
MiniMax-AI/minimax-code 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
MiniMax-AI/minimax-code#639 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
MiniMax-AI/minimax-code#636 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
MiniMax-AI/minimax-code#615 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
MiniMax-AI/minimax-code#556 · 4 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
MiniMax-AI/minimax-code#507 ·
維護者通常 1 天內回覆
查看 MiniMax-AI/minimax-code 的全部 Issue
相似的 Issue
-
[Bug]: A Markdown link with both a :line suffix and a #L fragment opens a path containing ":line"未關閉
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
status:needs-triage type:bug workstream:refimpl
難度 2/5 1-3 小時 新手友好度 76/100
GenAI-Security-Project/agent-control-standard#764 ·
維護者通常 1 天內回覆
-
good first issue
難度 2/5 1-3 小時 新手友好度 85/100
TanbirRamim/vibereel#39 ·
-
難度 2/5 1-3 小時 新手友好度 76/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難度 1/5 1 小時以內 新手友好度 72/100
lingdojo/kana-dojo#34988 · 1 則留言 · 5 個 reaction ·
維護者通常 1 天內回覆