Chore/ollama provider#379
Open
rpx99 wants to merge 2 commits into
Open
Conversation
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
force-pushed
the
chore/ollama-provider
branch
from
June 19, 2026 20:05
0eca6ca to
e1af1cd
Compare
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
force-pushed
the
chore/ollama-provider
branch
from
June 19, 2026 20:13
e1af1cd to
8de3f17
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #10
Adds support for both local Ollama inference and Ollama Cloud.
ollamaprovider for local models running onhttp://localhost:11434ollama-cloudprovider for hosted models viahttps://ollama.com/v1Includes a new
gen:ollamaandgen:ollama-cloudtask in Taskfile.yaml.Testing:
go build ./...go vet ./...go test ./...Verified
/v2/providersreturns both Ollama entriesI have read
CONTRIBUTING.md.