Commit b333e83
feat(providers): add Ollama Cloud with web-verified text/vision classification
Ollama Cloud (hosted, OpenAI-compatible at https://ollama.com/v1, Bearer key) added to
the key-login catalog. noVisionModels reflects the live ollama.com cloud lineup,
classified text-vs-vision by web-searching ollama.com's cloud∩vision filter (not a
stale third-party list — which wrongly tagged gpt-oss as image-capable; ollama.com
confirms gpt-oss is text-only).
- text-only → vision sidecar describes images: glm-5.x/4.7, minimax-m2.x, nemotron-3-*,
deepseek-v4-pro/flash, gpt-oss, qwen3-coder.
- vision-native (excluded): kimi-k2.5/.6/.7-code, minimax-m3, gemma3/4, qwen3.5,
gemini-3-flash-preview, ministral-3, devstral-small-2, mistral-large-3.
enrichProviderFromCatalog copies the catalog's models/classification onto the created
provider config (the GUI/API only send adapter/baseUrl/apiKey), so the sidecars are
actually gated; wired into POST /api/providers. GUI picker auto-lists it via the
existing /api/key-providers catalog merge. Verified end-to-end with a probe.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent f58f038 commit b333e83
2 files changed
Lines changed: 49 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
14 | 23 | | |
15 | 24 | | |
16 | 25 | | |
| |||
32 | 41 | | |
33 | 42 | | |
34 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
35 | 65 | | |
36 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
37 | 82 | | |
38 | 83 | | |
39 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
303 | 306 | | |
304 | 307 | | |
305 | 308 | | |
| |||
0 commit comments