[Feature]: Support local Ollama as a model provider

Đang mở
#581 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
ollama, typescript
Lĩnh vực
ai, desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

desktop enhancement needs-triage
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:

  1. Endpoint Configuration: Allow users to specify the Ollama base URL (defaulting to http://localhost:11434, with support for custom LAN hostnames/IPs).
  2. Model Selection: Automatically fetch installed local models via Ollama's /api/tags endpoint or allow manual model tag entry (e.g., qwen2.5-coder, llama3.3).
  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 /v1 endpoint, which is cumbersome to configure and maintain compared to a built-in provider option.
  • Native support for Ollama would streamline local AI workflows significantly.
Ngôn ngữ chính
TypeScript
Star
2.3k
Fork
315
Merge trung bình
3 giờ 54 phút
Pull request đã merge (30 ngày)
9

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của MiniMax-AI/minimax-code

Tất cả issue của MiniMax-AI/minimax-code

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.