[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
-
area:api bug good first issue priority:high
难度 2/5 1-3 小时 新手友好度 78/100
Doezer/Questarr#1486 · 1 条评论 ·
维护者通常 1 天内回复
-
area:import difficulty:good-first good first issue help wanted priority:P1 roadmap size:S type:test
难度 2/5 1-3 小时 新手友好度 88/100
Sergey-Bar/Penny#245 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Approve the Cloudflare agent plugin for harness sessions可能已有人在做 @joshtsch 今天认领。 未关闭enhancement ready-for-agent
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复