cotabby icon indicating copy to clipboard operation
cotabby copied to clipboard

[Feature] Add Ollama model picker (UI parity with LM Studio)

Open EzraCerpac opened this issue 5 months ago • 2 comments

Summary

I’d like Cotabby to include an Ollama inference backend so I can reuse my locally downloaded models, with a model selection UX that feels the same as the LM Studio/OpenAI-compatible endpoint flow.

Problem

Right now I can’t smoothly reuse the Ollama models I already manage. This overlaps with (and builds on) #627 (local OpenAI-compatible endpoint). I want to avoid duplicating model downloads and configuration between Ollama and Cotabby.

Proposed direction

  • Add an Ollama engine option alongside existing engines.
  • Connect to localhost:11434 by default, with settings to customize base URL/model name.
  • Use streaming completions (SSE) for low-latency suggestions.
  • Mirror the LM Studio picker UX so there’s consistent mental model across “local OpenAI-compatible servers”.

Additional context

This also enables MLX use indirectly: Ollama can use MLX, so an Ollama backend lets me benefit from MLX without Cotabby needing its own MLX pipeline. Related issue: #457 (MLX inference backend).

EzraCerpac avatar Jun 12 '26 13:06 EzraCerpac

Good idea! Will ship by next release, thanks!

FuJacob avatar Jun 12 '26 21:06 FuJacob

This was solved in #627 with broader functionality. All of the things listed in this issue are applied and merged in for the next release!

akramj13 avatar Jul 05 '26 22:07 akramj13