Files
2026-07-13 12:28:55 +08:00

14 lines
675 B
TOML

name = "Ollama Cloud"
env = ["OLLAMA_API_KEY"]
npm = "@ai-sdk/openai-compatible"
# Raw HTTP reasoning controls (sources accessed 2026-06-25):
# Native POST `/api/chat` and `/api/generate` use `think = true|false` or a
# model-supported level. GPT-OSS accepts only low|medium|high; booleans are
# ignored and its trace cannot be disabled. Native output is `message.thinking`
# or `thinking`. OpenAI POST `/v1/chat/completions` instead accepts top-level
# `reasoning_effort` or `reasoning.effort` with high|medium|low|max|none.
# https://docs.ollama.com/capabilities/thinking
# https://docs.ollama.com/openai
api = "https://ollama.com/v1"
doc = "https://docs.ollama.com/cloud"