Files
9router/open-sse/providers/registry/ollama.js
T
decoluaandCursor bb9e9aa91f refactor(open-sse): registry consolidation + DRY media/oauth/adhoc cleanup
- Single-source registry: oauth clientId/tokenUrl, usage URLs, image/embed
  configs, search defaultModel, codex fixedPort, google token url derive.
- Remove 29 unused OmniRoute providers (registry 100→71); media intact.
- De-adhoc: codex literals → registry format/oauth flags; reasoningInject,
  image/embed openrouter headers + xai bodyFields config-driven.
- Add REGISTRY_TEMPLATE.js + expand PROVIDER_DEFAULTS/schema JSDoc.
- Baselines updated; PROVIDERS 62 + alias 90 byte-for-byte, golden snapshots.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-14 13:15:48 +07:00

53 lines
1.1 KiB
JavaScript

export default {
"id": "ollama",
"alias": "ollama",
display: {
"name": "Ollama Cloud",
"icon": "cloud",
"color": "#ffffffff",
"textIcon": "OL",
"website": "https://ollama.com",
"notice": {
"text": "Free tier: light usage, 1 cloud model at a time (limits reset every 5h & 7d). Pro $20/mo · Max $100/mo.",
"apiKeyUrl": "https://ollama.com/settings/keys"
}
},
category: "freeTier",
"transport": {
"baseUrl": "https://ollama.com/api/chat",
"validateUrl": "https://ollama.com/api/tags",
"format": "ollama"
},
media: {
serviceKinds: ["llm"]
},
"models": [
{
"id": "gpt-oss:120b",
"name": "GPT OSS 120B"
},
{
"id": "kimi-k2.5",
"name": "Kimi K2.5"
},
{
"id": "glm-5",
"name": "GLM 5"
},
{
"id": "minimax-m2.5",
"name": "MiniMax M2.5"
},
{
"id": "glm-4.7-flash",
"name": "GLM 4.7 Flash"
},
{
"id": "qwen3.5",
"name": "Qwen3.5"
}
],
features: {"usage":true},
};