[Feature]: Support local Ollama as a model provider

オープン
#581 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
ollama, typescript
領域
ai, desktop

調査の方向性

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 の本文から書いたものです。

説明

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.
主要言語
TypeScript
スター
2.3k
フォーク
315
平均マージ
3時間 54分
マージ済み PR(30日)
9

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MiniMax-AI/minimax-code のほかの issue

MiniMax-AI/minimax-code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。