Open
Conversation
…ntication - Add ollama to PROVIDERS config with https://ollama.com/api/chat endpoint - Add ollama to PROVIDER_MODELS with gpt-oss:120b model - Add ollama provider logo (ollama.png) - Add ollama to APIKEY_PROVIDERS with cloud icon and white color - Add ollama to API key validation and model fetching endpoints - Use /api/tags endpoint for ollama model listing and connection testing - Fix color opacity handling for providers with full
…arrays to OpenAI format
- Add Ollama non-streaming response normalization in translateNonStreamingResponse to handle { message: { role, content, tool_calls }, done } format
- Convert Ollama tool_calls to OpenAI format with proper id generation and argument serialization
- Map Ollama token usage fields (prompt_eval_count, eval_count) to OpenAI usage format
- Add normalizeContentToString helper to convert content arrays to strings for providers that don't
808bbf3 to
91f1c18
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.
Summary
Restore support for Ollama Cloud, an API-key provider that exposes hosted Ollama models with managed infrastructure and usage tracking.
What is Ollama Cloud?
Ollama Cloud offers a hosted version of the popular Ollama runtime with:
Changes
ollamaprovider metadata (ID:ollama, alias:ollama) with icon asset and UI definition/api/providers/[id]/modelsso model lists can be fetchedhttps://ollama.com/api/tagswith bearer auth0b3e190f5cac6ec9d7e97f81e2c8e2405ab7073bto remain in sync with original repoUsage
https://ollama.com/api/chatGET https://ollama.com/api/tagsTesting
tested models: