feat(go/plugins/compat_oai): add Ollama Cloud support #3813
+559
−0
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.
Description here... Help the reviewer by:
compat_oai/ollamacloudplugin so that itssupportedModelsmap matches the actual Ollama Cloud OpenAI-compatible models returned byhttps://ollama.com/v1/models(e.g.gpt-oss:20b,gpt-oss:120b,qwen3-coder:480b,deepseek-v3.1:671b,glm-4.6,minimax-m2,kimi-k2:1t,kimi-k2-thinking,qwen3-vl:235b-instruct,qwen3-vl:235b).ollamacloud_live_test.goto use real Cloud models:ollamacloud/gpt-oss:20b.ollamacloud/qwen3-coder:480bwith thegablorkentool and explicit prompts so numeric arguments are passed correctly.ollamacloud/qwen3-vl:235b-instructfor image + text tests.plugins/compat_oai/ollamacloud/readme.mdto document the same set of models and show examples that use the updated IDs and default model (ollamacloud/gpt-oss:20b).Checklist (if applicable):