Skip to content

Chore/ollama provider#379

Open
rpx99 wants to merge 2 commits into
charmbracelet:mainfrom
rpx99:chore/ollama-provider
Open

Chore/ollama provider#379
rpx99 wants to merge 2 commits into
charmbracelet:mainfrom
rpx99:chore/ollama-provider

Conversation

@rpx99

@rpx99 rpx99 commented Jun 19, 2026

Copy link
Copy Markdown

Closes #10

Adds support for both local Ollama inference and Ollama Cloud.

  • ollama provider for local models running on http://localhost:11434
  • ollama-cloud provider for hosted models via https://ollama.com/v1
  • Both use OpenAI-compatible endpoints
  • Cloud provider includes 35 models with context window, reasoning, and vision metadata
  • Costs are set to zero for both (local hardware / subscription-based cloud)

Includes a new gen:ollama and gen:ollama-cloud task in Taskfile.yaml.

Testing:

  • go build ./...

  • go vet ./...

  • go test ./...

  • Verified /v2/providers returns both Ollama entries

  • I have read CONTRIBUTING.md.

Adds support for locally installed Ollama models, which require no API
key and have zero cost since inference runs on the user's own hardware.
The generator queries a live Ollama instance to discover installed
models and their capabilities (context window, vision support, reasoning).

Closes charmbracelet#10

💘 Generated with Crush

Assisted-by: Crush:mimo-v2.5-free
@rpx99
rpx99 requested a review from andreynering as a code owner June 19, 2026 20:00
@rpx99
rpx99 force-pushed the chore/ollama-provider branch from 0eca6ca to e1af1cd Compare June 19, 2026 20:05
Adds support for Ollama Cloud, a hosted inference service that exposes
an OpenAI-compatible endpoint. Ollama Cloud is subscription-based, so
costs are set to zero. Model metadata (context window, reasoning, vision)
is maintained locally because the API does not expose it.

Closes charmbracelet#10

💘 Generated with Crush

Assisted-by: Crush:mimo-v2.5-free
@rpx99
rpx99 force-pushed the chore/ollama-provider branch from e1af1cd to 8de3f17 Compare June 19, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provider Request: Ollama

1 participant