Ollama is a local LLM runtime that makes it easy to run open-source models on your machine. WednesdayAI integrates with Ollama’s native API (/api/chat), supporting streaming and tool calling, and can auto-discover tool-capable models when you opt in with OLLAMA_API_KEY (or an auth profile) and do not define an explicit models.providers.ollama entry.
Remote Ollama users: Do not use the /v1 OpenAI-compatible URL (http://host:11434/v1) with WednesdayAI. This breaks tool calling and models may output raw tool JSON as plain text. Use the native Ollama API URL instead: baseUrl: "http://host:11434" (no /v1).
Enable Ollama for WednesdayAI (any value works; Ollama doesn’t require a real key):
# Set environment variableexport OLLAMA_API_KEY="ollama-local"# Or configure in your config filewednesdayai config set models.providers.ollama.apiKey "ollama-local"
When you set OLLAMA_API_KEY (or an auth profile) and do not define models.providers.ollama, WednesdayAI discovers models from the local Ollama instance at http://127.0.0.1:11434:
Queries /api/tags and /api/show
Keeps only models that report tools capability
Marks reasoning when the model reports thinking
Reads contextWindow from model_info["<arch>.context_length"] when available
Sets maxTokens to 8192 (fixed default)
Sets all costs to 0
This avoids manual model entries while keeping the catalog aligned with Ollama’s capabilities.To see what models are available:
ollama listwednesdayai models list
To add a new model, simply pull it with Ollama:
ollama pull mistral
The new model will be automatically discovered and available to use.If you set models.providers.ollama explicitly, auto-discovery is skipped and you must define models manually (see below).
Configuration
Basic setup (implicit discovery)
The simplest way to enable Ollama is via environment variable:
export OLLAMA_API_KEY="ollama-local"
Explicit setup (manual models)
Use explicit config when:
Ollama runs on another host/port.
You want to force specific context windows or model lists.
You want to include models that do not report tool support.
If OLLAMA_API_KEY is set, you can omit apiKey in the provider entry and WednesdayAI will fill it for availability checks.
Custom base URL (explicit config)
If Ollama is running on a different host or port (explicit config disables auto-discovery, so define models manually):
{ models: { providers: { ollama: { apiKey: "ollama-local", baseUrl: "http://ollama-host:11434", // No /v1 - use native Ollama API URL api: "ollama", // Set explicitly to guarantee native tool-calling behavior }, }, },}
Do not add /v1 to the URL. The /v1 path uses OpenAI-compatible mode, where tool calling is not reliable. Use the base Ollama URL without a path suffix.
Model selection
Once configured, all your Ollama models are available:
WednesdayAI marks models as reasoning-capable when Ollama reports thinking in /api/show:
ollama pull deepseek-r1:32b
Model Costs
Ollama is free and runs locally, so all model costs are set to $0.
Streaming Configuration
WednesdayAI’s Ollama integration uses the native Ollama API (/api/chat) by default, which fully supports streaming and tool calling simultaneously. No special configuration is needed.
Legacy OpenAI-Compatible Mode
Tool calling is not reliable in OpenAI-compatible mode. Use this mode only if you need OpenAI format for a proxy and do not depend on native tool calling behavior.
If you need to use the OpenAI-compatible endpoint instead (e.g., behind a proxy that only supports OpenAI format), set api: "openai-completions" explicitly:
This mode may not support streaming + tool calling simultaneously. You may need to disable streaming with params: { streaming: false } in model config.When api: "openai-completions" is used with Ollama, WednesdayAI injects options.num_ctx by default so Ollama does not silently fall back to a 4096 context window. If your proxy/upstream rejects unknown options fields, disable this behavior:
For auto-discovered models, WednesdayAI uses the context window reported by Ollama when available, otherwise it defaults to 128000. The default maxTokens for all Ollama models is 8192. You can override both in explicit provider config:
Make sure Ollama is running and that you set OLLAMA_API_KEY (or an auth profile), and that you did not define an explicit models.providers.ollama entry:
ollama serve
And that the API is accessible:
curl http://localhost:11434/api/tags
No models available
WednesdayAI only auto-discovers models that report tool support. If your model isn’t listed, either:
Pull a tool-capable model, or
Define the model explicitly in models.providers.ollama.
To add models:
ollama list # See what's installedollama pull gpt-oss:20b # Pull a tool-capable modelollama pull llama3.3 # Or another model
Connection refused
Check that Ollama is running on the correct port:
# Check if Ollama is runningps aux | grep ollama# Or restart Ollamaollama serve
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"WednesdayAI","description":"The AI platform that stays yours. Documentation for administrators, users, and developers.","colors":{"primary":"#6366f1","light":"#818cf8","dark":"#4f46e5"},"logo":{"light":"https://mintcdn.com/expansionxpartners/dow-8PUnQ_SAIAho/assets/logo-light.svg?fit=max\u0026auto=format\u0026n=dow-8PUnQ_SAIAho\u0026q=85\u0026s=8b9f28296cca622a181934acf27d274b","dark":"https://mintcdn.com/expansionxpartners/dow-8PUnQ_SAIAho/assets/logo-dark.svg?fit=max\u0026auto=format\u0026n=dow-8PUnQ_SAIAho\u0026q=85\u0026s=635a03b67088a77559481dfab5e1e12f"},"favicon":"https://mintcdn.com/expansionxpartners/dow-8PUnQ_SAIAho/assets/favicon.svg?fit=max\u0026auto=format\u0026n=dow-8PUnQ_SAIAho\u0026q=85\u0026s=88396129c7038fbb5e487a35b26b1ffd","background":{"color":{"dark":"#0f172a"}},"navbar":{"links":[{"icon":"github","href":"https://github.com/ExpansionX/WednesdayAI-core","label":"GitHub"},{"icon":"discord","href":"https://discord.gg/wednesdayai","label":"Discord"}],"primary":{"type":"button","label":"Get started","href":"/admin/getting-started"}},"search":{"prompt":"Search WednesdayAI docs..."},"seo":{"indexing":"navigable"},"fonts":{"heading":{"family":"Space Grotesk"},"body":{"family":"Inter"}},"icons":{"library":"lucide"},"styling":{"codeblocks":"dark","latex":true},"banner":{"content":"Latest release: WednesdayAI v0.6.1 ([release notes](https://github.com/ExpansionX/WednesdayAI-core/releases/tag/v0.6.1)). Use the version menu for unreleased (next) or older docs.","dismissible":true},"navigation":{"global":{"anchors":[{"anchor":"Changelog","icon":"megaphone","href":"/changelog"},{"anchor":"GitHub","icon":"github","href":"https://github.com/ExpansionX/WednesdayAI-core"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"expansionxpartners","hasAudioNarration":false,"actualSubdomain":"expansionxpartners","customDomains":["docs.wednesdayai.dev"],"gitSource":{"type":"github","owner":"expansionx","repo":"wednesdayai-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6afc0b28959cb52827702c74","clientVersion":"0.0.4227","searchFilterCounts":[{"language":"default","tag":"Administrators","count":366},{"language":"default","tag":"Users","count":298},{"language":"default","tag":"Developers","count":212},{"language":"default","tag":"CLI command reference","count":90},{"language":"default","tag":"AI providers","count":66},{"language":"default","tag":"Gateway (synced pages)","count":62},{"language":"default","tag":"Core concepts (developer)","count":58},{"language":"default","tag":"More agent tools","count":56},{"language":"default","tag":"Extension points","count":50},{"language":"default","tag":"Channels (synced pages)","count":40}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--wai-indigo: #6366f1;--wai-indigo-400: #818cf8;--wai-indigo-600: #5457e5;--wai-violet: #8b5cf6;--wai-pink: #f472b6;--wai-slate-950: #0f172a;--wai-radius: 12px;--wai-ease: cubic-bezier(0.16, 1, 0.3, 1)}h1,h2,h3,.prose h1,.prose h2,.prose h3{letter-spacing:-0.025em}h1,.prose h1{letter-spacing:-0.035em}.eyebrow,[data-eyebrow]{text-transform:uppercase;letter-spacing:0.08em;font-weight:600}a[class*=\"card\"],div[class*=\"card\"],.card{border-radius:var(--wai-radius);transition:border-color 200ms var(--wai-ease),\n transform 120ms var(--wai-ease),\n box-shadow 200ms var(--wai-ease)}@media (prefers-reduced-motion: no-preference){a[class*=\"card\"]:hover,div[class*=\"card\"]:hover,.card:hover{transform:translateY(-1px);border-color:var(--wai-indigo-400);box-shadow:0 4px 12px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(99, 102, 241, 0.25)}}a:hover{text-decoration-color:var(--wai-indigo)}a:focus-visible,button:focus-visible,[tabindex]:focus-visible{outline:none;box-shadow:0 0 0 2px var(--wai-slate-950), 0 0 0 4px var(--wai-indigo);border-radius:6px}:root[class~=\"light\"] a:focus-visible,:root[class~=\"light\"] button:focus-visible{box-shadow:0 0 0 2px #ffffff, 0 0 0 4px var(--wai-indigo)}@media (prefers-reduced-motion: no-preference){a[class*=\"primary\"]:hover,button[class*=\"primary\"]:hover{box-shadow:0 8px 24px rgba(99, 102, 241, 0.4);transform:translateY(-1px)}}pre ::selection,code ::selection{background:rgba(99, 102, 241, 0.28)}[aria-current=\"page\"]{--tw-text-opacity: 1}header,nav[class*=\"navbar\"]{background-image:radial-gradient(60% 120% at 12% 0%, rgba(99, 102, 241, 0.10), transparent 60%)}.brand-accent,.nav__title b{color:var(--wai-pink)}"}]}
{"page":{"pagePath":"admin/providers/ollama","slug":"/admin/providers/ollama","pageMetadata":{"summary":"Run WednesdayAI with Ollama (local LLM runtime)","read_when":["You want to run WednesdayAI with local models via Ollama","You need Ollama setup and configuration guidance"],"title":"Ollama","description":null,"href":"/admin/providers/ollama"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`ollama`,children:`Ollama`}),`\n`,_jsxs(_components.p,{children:[`Ollama is a local LLM runtime that makes it easy to run open-source models on your machine. WednesdayAI integrates with Ollama’s native API (`,_jsx(_components.code,{children:`/api/chat`}),`), supporting streaming and tool calling, and can `,_jsx(_components.strong,{children:`auto-discover tool-capable models`}),` when you opt in with `,_jsx(_components.code,{children:`OLLAMA_API_KEY`}),` (or an auth profile) and do not define an explicit `,_jsx(_components.code,{children:`models.providers.ollama`}),` entry.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Remote Ollama users`}),`: Do not use the `,_jsx(_components.code,{children:`/v1`}),` OpenAI-compatible URL (`,_jsx(_components.code,{children:`http://host:11434/v1`}),`) with WednesdayAI. This breaks tool calling and models may output raw tool JSON as plain text. Use the native Ollama API URL instead: `,_jsx(_components.code,{children:`baseUrl: \"http://host:11434\"`}),` (no `,_jsx(_components.code,{children:`/v1`}),`).`]})}),`\n`,_jsx(Heading,{level:`2`,id:`quick-start`,children:`Quick start`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Install Ollama: `,_jsx(_components.a,{href:`https://ollama.ai`,children:`https://ollama.ai`})]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Pull a model:`}),`\n`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`ollama`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` pull`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` gpt-oss:20b`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# or`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`ollama`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` pull`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` llama3.3`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# or`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`ollama`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` pull`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` qwen2.5-coder:32b`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# or`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`ollama`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` pull`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` deepseek-r1:32b`})]}),`\n`]})})}),`\n`,_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsx(_components.li,{children:`Enable Ollama for WednesdayAI (any value works; Ollama doesn’t require a real key):`}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Set environment variable`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` OLLAMA_API_KEY`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"ollama-local\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Or configure in your config file`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`wednesdayai`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` config`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` set`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` models.providers.ollama.apiKey`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"ollama-local\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.ol,{start:`4`,children:[`\n`,_jsx(_components.li,{children:`Use Ollama models:`}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json5`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`json5`,children:_jsxs(_components.code,{language:`json5`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` agents`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` defaults`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` model`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`primary`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"ollama/gpt-oss:20b\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`model-discovery-implicit-provider`,children:`Model discovery (implicit provider)`}),`\n`,_jsxs(_components.p,{children:[`When you set `,_jsx(_components.code,{children:`OLLAMA_API_KEY`}),` (or an auth profile) and `,_jsx(_components.strong,{children:`do not`}),` define `,_jsx(_components.code,{children:`models.providers.ollama`}),`, WednesdayAI discovers models from the local Ollama instance at `,_jsx(_components.code,{children:`http://127.0.0.1:11434`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Queries `,_jsx(_components.code,{children:`/api/tags`}),` and `,_jsx(_components.code,{children:`/api/show`})]}),`\n`,_jsxs(_components.li,{children:[`Keeps only models that report `,_jsx(_components.code,{children:`tools`}),` capability`]}),`\n`,_jsxs(_components.li,{children:[`Marks `,_jsx(_components.code,{children:`reasoning`}),` when the model reports `,_jsx(_components.code,{children:`thinking`})]}),`\n`,_jsxs(_components.li,{children:[`Reads `,_jsx(_components.code,{children:`contextWindow`}),` from `,_jsx(_components.code,{children:`model_info[\"\u003carch>.context_length\"]`}),` when available`]}),`\n`,_jsxs(_components.li,{children:[`Sets `,_jsx(_components.code,{children:`maxTokens`}),` to `,_jsx(_components.code,{children:`8192`}),` (fixed default)`]}),`\n`,_jsxs(_components.li,{children:[`Sets all costs to `,_jsx(_components.code,{children:`0`})]}),`\n`]}),`\n`,_jsx(_components.p,{children:`This avoids manual model entries while keeping the catalog aligned with Ollama’s capabilities.`}),`\n`,_jsx(_components.p,{children:`To see what models are available:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`ollama`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` list`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`wednesdayai`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` models`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` list`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`To add a new model, simply pull it with Ollama:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`ollama`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` pull`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` mistral`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The new model will be automatically discovered and available to use.`}),`\n`,_jsxs(_components.p,{children:[`If you set `,_jsx(_components.code,{children:`models.providers.ollama`}),` explicitly, auto-discovery is skipped and you must define models manually (see below).`]}),`\n`,_jsx(Heading,{level:`2`,id:`configuration`,children:`Configuration`}),`\n`,_jsx(Heading,{level:`3`,id:`basic-setup-implicit-discovery`,children:`Basic setup (implicit discovery)`}),`\n`,_jsx(_components.p,{children:`The simplest way to enable Ollama is via environment variable:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` OLLAMA_API_KEY`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"ollama-local\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`explicit-setup-manual-models`,children:`Explicit setup (manual models)`}),`\n`,_jsx(_components.p,{children:`Use explicit config when:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Ollama runs on another host/port.`}),`\n`,_jsx(_components.li,{children:`You want to force specific context windows or model lists.`}),`\n`,_jsx(_components.li,{children:`You want to include models that do not report tool support.`}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`22`,language:`json5`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`json5`,children:_jsxs(_components.code,{language:`json5`,numberOfLines:`22`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` models`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` providers`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ollama`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` baseUrl`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"http://ollama-host:11434\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` apiKey`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"ollama-local\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` api`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"ollama\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` models`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` id`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-oss:20b\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` name`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"GPT-OSS 20B\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` reasoning`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` input`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` cost`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`input`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: 0, `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`output`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: 0, `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`cacheRead`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: 0, `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`cacheWrite`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: 0 },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` contextWindow`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: 8192,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` maxTokens`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: 8192,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`If `,_jsx(_components.code,{children:`OLLAMA_API_KEY`}),` is set, you can omit `,_jsx(_components.code,{children:`apiKey`}),` in the provider entry and WednesdayAI will fill it for availability checks.`]}),`\n`,_jsx(Heading,{level:`3`,id:`custom-base-url-explicit-config`,children:`Custom base URL (explicit config)`}),`\n`,_jsx(_components.p,{children:`If Ollama is running on a different host or port (explicit config disables auto-discovery, so define models manually):`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json5`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`json5`,children:_jsxs(_components.code,{language:`json5`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` models`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` providers`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ollama`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` apiKey`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"ollama-local\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` baseUrl`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"http://ollama-host:11434\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`// No /v1 - use native Ollama API URL`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` api`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"ollama\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`// Set explicitly to guarantee native tool-calling behavior`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Do not add `,_jsx(_components.code,{children:`/v1`}),` to the URL. The `,_jsx(_components.code,{children:`/v1`}),` path uses OpenAI-compatible mode, where tool calling is not reliable. Use the base Ollama URL without a path suffix.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`model-selection`,children:`Model selection`}),`\n`,_jsx(_components.p,{children:`Once configured, all your Ollama models are available:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json5`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`json5`,children:_jsxs(_components.code,{language:`json5`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` agents`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` defaults`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` model`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` primary`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"ollama/gpt-oss:20b\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` fallbacks`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"ollama/llama3.3\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"ollama/qwen2.5-coder:32b\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`advanced`,children:`Advanced`}),`\n`,_jsx(Heading,{level:`3`,id:`reasoning-models`,children:`Reasoning models`}),`\n`,_jsxs(_components.p,{children:[`WednesdayAI marks models as reasoning-capable when Ollama reports `,_jsx(_components.code,{children:`thinking`}),` in `,_jsx(_components.code,{children:`/api/show`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`ollama`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` pull`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` deepseek-r1:32b`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`model-costs`,children:`Model Costs`}),`\n`,_jsx(_components.p,{children:`Ollama is free and runs locally, so all model costs are set to $0.`}),`\n`,_jsx(Heading,{level:`3`,id:`streaming-configuration`,children:`Streaming Configuration`}),`\n`,_jsxs(_components.p,{children:[`WednesdayAI’s Ollama integration uses the `,_jsx(_components.strong,{children:`native Ollama API`}),` (`,_jsx(_components.code,{children:`/api/chat`}),`) by default, which fully supports streaming and tool calling simultaneously. No special configuration is needed.`]}),`\n`,_jsx(Heading,{level:`4`,id:`legacy-openai-compatible-mode`,children:`Legacy OpenAI-Compatible Mode`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Tool calling is not reliable in OpenAI-compatible mode.`}),` Use this mode only if you need OpenAI format for a proxy and do not depend on native tool calling behavior.`]})}),`\n`,_jsxs(_components.p,{children:[`If you need to use the OpenAI-compatible endpoint instead (e.g., behind a proxy that only supports OpenAI format), set `,_jsx(_components.code,{children:`api: \"openai-completions\"`}),` explicitly:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json5`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`json5`,children:_jsxs(_components.code,{language:`json5`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` models`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` providers`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ollama`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` baseUrl`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"http://ollama-host:11434/v1\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` api`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"openai-completions\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` injectNumCtxForOpenAICompat`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`// default: true`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` apiKey`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"ollama-local\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` models`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#F44747`,\"--shiki-dark\":`#F44747`},children:`...`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`This mode may not support streaming + tool calling simultaneously. You may need to disable streaming with `,_jsx(_components.code,{children:`params: { streaming: false }`}),` in model config.`]}),`\n`,_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`api: \"openai-completions\"`}),` is used with Ollama, WednesdayAI injects `,_jsx(_components.code,{children:`options.num_ctx`}),` by default so Ollama does not silently fall back to a 4096 context window. If your proxy/upstream rejects unknown `,_jsx(_components.code,{children:`options`}),` fields, disable this behavior:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json5`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`json5`,children:_jsxs(_components.code,{language:`json5`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` models`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` providers`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ollama`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` baseUrl`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"http://ollama-host:11434/v1\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` api`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"openai-completions\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` injectNumCtxForOpenAICompat`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` apiKey`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"ollama-local\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` models`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#F44747`,\"--shiki-dark\":`#F44747`},children:`...`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`context-windows`,children:`Context windows`}),`\n`,_jsxs(_components.p,{children:[`For auto-discovered models, WednesdayAI uses the context window reported by Ollama when available, otherwise it defaults to `,_jsx(_components.code,{children:`128000`}),`. The default `,_jsx(_components.code,{children:`maxTokens`}),` for all Ollama models is `,_jsx(_components.code,{children:`8192`}),`. You can override both in explicit provider config:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`16`,language:`json5`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`json5`,children:_jsxs(_components.code,{language:`json5`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` models`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` providers`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ollama`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` apiKey`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"ollama-local\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` models`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` id`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"llama3.3\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` contextWindow`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: 131072,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` maxTokens`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: 16384,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsx(Heading,{level:`3`,id:`ollama-not-detected`,children:`Ollama not detected`}),`\n`,_jsxs(_components.p,{children:[`Make sure Ollama is running and that you set `,_jsx(_components.code,{children:`OLLAMA_API_KEY`}),` (or an auth profile), and that you did `,_jsx(_components.strong,{children:`not`}),` define an explicit `,_jsx(_components.code,{children:`models.providers.ollama`}),` entry:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`ollama`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` serve`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`And that the API is accessible:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` http://localhost:11434/api/tags`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`no-models-available`,children:`No models available`}),`\n`,_jsx(_components.p,{children:`WednesdayAI only auto-discovers models that report tool support. If your model isn’t listed, either:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Pull a tool-capable model, or`}),`\n`,_jsxs(_components.li,{children:[`Define the model explicitly in `,_jsx(_components.code,{children:`models.providers.ollama`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`To add models:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`ollama`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` list`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` # See what's installed`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`ollama`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` pull`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` gpt-oss:20b`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` # Pull a tool-capable model`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`ollama`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` pull`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` llama3.3`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` # Or another model`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`connection-refused`,children:`Connection refused`}),`\n`,_jsx(_components.p,{children:`Check that Ollama is running on the correct port:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Check if Ollama is running`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`ps`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` aux`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`grep`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ollama`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# Or restart Ollama`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`ollama`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` serve`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`see-also`,children:`See Also`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/developers/concepts/model-providers`,children:`Model Providers`}),` - Overview of all providers`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/developers/concepts/models`,children:`Model Selection`}),` - How to choose models`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/admin/gateway/configuration`,children:`Configuration`}),` - Full config reference`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"summary":"Run WednesdayAI with Ollama (local LLM runtime)","read_when":["You want to run WednesdayAI with local models via Ollama","You need Ollama setup and configuration guidance"],"title":"Ollama","description":null,"href":"/admin/providers/ollama"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Ollama","slug":"ollama","depth":1,"children":[]},{"title":"Quick start","slug":"quick-start","depth":2,"children":[]},{"title":"Model discovery (implicit provider)","slug":"model-discovery-implicit-provider","depth":2,"children":[]},{"title":"Configuration","slug":"configuration","depth":2,"children":[{"title":"Basic setup (implicit discovery)","slug":"basic-setup-implicit-discovery","depth":3,"children":[]},{"title":"Explicit setup (manual models)","slug":"explicit-setup-manual-models","depth":3,"children":[]},{"title":"Custom base URL (explicit config)","slug":"custom-base-url-explicit-config","depth":3,"children":[]},{"title":"Model selection","slug":"model-selection","depth":3,"children":[]}]},{"title":"Advanced","slug":"advanced","depth":2,"children":[{"title":"Reasoning models","slug":"reasoning-models","depth":3,"children":[]},{"title":"Model Costs","slug":"model-costs","depth":3,"children":[]},{"title":"Streaming Configuration","slug":"streaming-configuration","depth":3,"children":[]},{"title":"Legacy OpenAI-Compatible Mode","slug":"legacy-openai-compatible-mode","depth":4,"children":[]},{"title":"Context windows","slug":"context-windows","depth":3,"children":[]}]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[{"title":"Ollama not detected","slug":"ollama-not-detected","depth":3,"children":[]},{"title":"No models available","slug":"no-models-available","depth":3,"children":[]},{"title":"Connection refused","slug":"connection-refused","depth":3,"children":[]}]},{"title":"See Also","slug":"see-also","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"expansionxpartners","siteName":"WednesdayAI","title":"Ollama - WednesdayAI","navMaps":{"firstHrefInVersion":{"v0.6.1":{"href":"/admin/providers/ollama","matchLevel":0},"next":{"href":"/next/admin/providers/ollama","matchLevel":1}},"firstHrefInLanguage":{}},"lastModified":"2026-11-14T21:19:50.690Z","originalFileLocation":"admin/providers/ollama.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"WednesdayAI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/expansionxpartners/ueEk4c188hOwlmD6/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/expansionxpartners/ueEk4c188hOwlmD6/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/expansionxpartners/ueEk4c188hOwlmD6/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/expansionxpartners/ueEk4c188hOwlmD6/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/expansionxpartners/ueEk4c188hOwlmD6/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/expansionxpartners/ueEk4c188hOwlmD6/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/expansionxpartners/ueEk4c188hOwlmD6/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/expansionxpartners/ueEk4c188hOwlmD6/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/expansionxpartners/ueEk4c188hOwlmD6/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Ollama - WednesdayAI\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"WednesdayAI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.wednesdayai.dev/admin/providers/ollama\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://expansionxpartners.mintlify.site/_mintlify/api/og/v2?division=AI+providers\u0026amp;title=Ollama\u0026amp;theme=723ad5e52117fba83642fb4a\u0026amp;signature=7245cea2415329a474e900eb8dfa5683a4b77200007b28bf405ee7b2f9c8db88\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Ollama - WednesdayAI\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://expansionxpartners.mintlify.site/_mintlify/api/og/v2?division=AI+providers\u0026amp;title=Ollama\u0026amp;theme=723ad5e52117fba83642fb4a\u0026amp;signature=7245cea2415329a474e900eb8dfa5683a4b77200007b28bf405ee7b2f9c8db88\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/expansionxpartners/ueEk4c188hOwlmD6/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"WednesdayAI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366f1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.wednesdayai.dev/admin/providers/ollama\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/admin/providers/ollama.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.wednesdayai.dev/#organization\",\"name\":\"WednesdayAI\",\"url\":\"https://docs.wednesdayai.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/expansionxpartners/dow-8PUnQ_SAIAho/assets/logo-light.svg?fit=max\u0026auto=format\u0026n=dow-8PUnQ_SAIAho\u0026q=85\u0026s=8b9f28296cca622a181934acf27d274b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.wednesdayai.dev#website\",\"name\":\"WednesdayAI\",\"url\":\"https://docs.wednesdayai.dev\",\"publisher\":{\"@id\":\"https://docs.wednesdayai.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.wednesdayai.dev/admin/providers/ollama#webpage\",\"url\":\"https://docs.wednesdayai.dev/admin/providers/ollama\",\"name\":\"Ollama\",\"dateModified\":\"2026-11-14T21:19:50.690Z\",\"isPartOf\":{\"@id\":\"https://docs.wednesdayai.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.wednesdayai.dev/admin/providers/ollama#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.wednesdayai.dev/admin/providers/ollama#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AI providers\",\"item\":\"https://docs.wednesdayai.dev/admin/providers\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ollama\",\"item\":\"https://docs.wednesdayai.dev/admin/providers/ollama\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.wednesdayai.dev/admin/providers/ollama#article\",\"headline\":\"Ollama\",\"name\":\"Ollama\",\"url\":\"https://docs.wednesdayai.dev/admin/providers/ollama\",\"mainEntityOfPage\":{\"@id\":\"https://docs.wednesdayai.dev/admin/providers/ollama#webpage\"},\"dateModified\":\"2026-11-14T21:19:50.690Z\",\"publisher\":{\"@id\":\"https://docs.wednesdayai.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.wednesdayai.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"WednesdayAI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"WednesdayAI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/admin/providers/ollama.md","siteName":"WednesdayAI","nav":{"global":{"anchors":[{"anchor":"Changelog","icon":"megaphone","href":"/changelog"},{"anchor":"GitHub","icon":"github","href":"https://github.com/ExpansionX/WednesdayAI-core"}]},"versions":[{"version":"v0.6.1","default":true,"tag":"Latest","tabs":[{"tab":"Administrators","icon":"server-cog","groups":[{"group":"Getting started","icon":"rocket","pages":[{"title":"Getting started","href":"/admin/getting-started"}]},{"group":"Gateway configuration","icon":"sliders-horizontal","pages":[{"title":"Configuration","href":"/admin/gateway/configuration"},{"title":"Config writes","sidebarTitle":"Config writes","href":"/admin/gateway/config-writes"},{"title":"Authentication","href":"/admin/gateway/authentication"},{"title":"Remote access","href":"/admin/gateway/remote-access"},{"title":"Logging","href":"/admin/gateway/logging"},{"title":"Health checks","href":"/admin/gateway/health-checks"},{"title":"Troubleshooting","href":"/admin/gateway/troubleshooting"},{"title":"System prompt","href":"/admin/gateway/system-prompt"},{"title":"Heartbeat","href":"/admin/gateway/heartbeat"},{"title":"Task operations","sidebarTitle":"Tasks","href":"/admin/gateway/tasks"},{"title":null,"href":"/admin/gateway/session-consumer-claims"},{"title":"Realtime voice","href":"/admin/gateway/realtime-voice"},{"title":"Workspace lanes","href":"/admin/gateway/workspace-lanes"},{"title":"Session journal","href":"/admin/gateway/session-journal"},{"title":"Tool policy","href":"/admin/gateway/tool-policy"},{"title":"Exec approvals","sidebarTitle":"Exec approvals","href":"/admin/gateway/exec-approvals"},{"title":"Multi-gateway setup","href":"/admin/multi-gateway"},{"title":"Secrets management","href":"/admin/secrets"},{"title":"Sandboxing","href":"/admin/sandboxing"}]},{"group":"Channels","icon":"messages-square","pages":[{"title":"Chat Channels","href":"/admin/channels/index"},{"title":"WhatsApp","href":"/admin/channels/whatsapp"},{"title":"Telegram","href":"/admin/channels/telegram"},{"title":"Discord","href":"/admin/channels/discord"},{"title":"Slack","href":"/admin/channels/slack"},{"title":"Signal","href":"/admin/channels/signal"},{"title":"iMessage","href":"/admin/channels/imessage"},{"title":"Microsoft Teams","href":"/admin/channels/msteams"},{"title":"Matrix","href":"/admin/channels/matrix"},{"title":"Feishu","href":"/admin/channels/feishu"}]},{"group":"Automation","icon":"clock","pages":[{"title":"Cron jobs","href":"/admin/automation/cron-jobs"},{"title":"Dream Cycle","href":"/admin/dream-cycle"}]},{"group":"Observability","icon":"activity","pages":[{"title":"Observability","href":"/admin/gateway/observability"},{"title":"Deep Observability","href":"/admin/gateway/deep-observability"},{"title":"Grafana and Prometheus setup","sidebarTitle":"Grafana \u0026 Prometheus","href":"/admin/observability/grafana-setup"},{"title":"OTel and Langfuse diagnostics","sidebarTitle":"OTel \u0026 Langfuse","href":"/admin/observability/otel-langfuse"}]},{"group":"Core concepts","icon":"book-open","pages":[{"title":"Sessions","href":"/admin/session"},{"title":"Streaming","href":"/admin/streaming"},{"title":"Learning Core","sidebarTitle":"Learning","href":"/admin/learning"},{"title":"Plugin Analysis Runtime Operations","href":"/admin/analysis-runtime"},{"title":"Product naming","href":"/admin/product-naming"}]},{"group":"AI providers","icon":"brain-circuit","pages":[{"title":"Model Providers","href":"/admin/providers/index"},{"title":"Anthropic","href":"/admin/providers/anthropic"},{"title":"OpenAI","href":"/admin/providers/openai"},{"title":"Google (Gemini)","description":null,"href":"/admin/providers/google"},{"title":"Ollama","href":"/admin/providers/ollama"},{"title":"OpenRouter","description":null,"href":"/admin/providers/openrouter"},{"title":null,"href":"/admin/providers/litellm"},{"title":"GitHub Copilot","href":"/admin/providers/github-copilot"},{"title":"Amazon Bedrock","href":"/admin/providers/bedrock"},{"title":"vLLM","href":"/admin/providers/vllm"},{"title":"Mistral AI","href":"/admin/providers/mistral"},{"title":"Groq","href":"/admin/providers/groq"},{"title":"NVIDIA","href":"/admin/providers/nvidia"},{"title":null,"href":"/admin/providers/together"},{"title":"Hugging Face (Inference)","href":"/admin/providers/huggingface"},{"title":"Venice AI","href":"/admin/providers/venice"},{"title":null,"href":"/admin/providers/kilocode"},{"title":"Moonshot AI","href":"/admin/providers/moonshot"},{"title":"Cloudflare AI Gateway","href":"/admin/providers/cloudflare-ai-gateway"},{"title":"xAI (Grok)","href":"/admin/providers/xai"},{"title":"Vercel AI Gateway","href":"/admin/providers/vercel-ai-gateway"},{"title":"Qwen","href":"/admin/providers/qwen"},{"title":null,"href":"/admin/providers/bifrost"},{"title":"GLM Models","href":"/admin/providers/glm"},{"title":"MiniMax","href":"/admin/providers/minimax"},{"title":"Z.AI","href":"/admin/providers/zai"},{"title":"Xiaomi MiMo","href":"/admin/providers/xiaomi"},{"title":"OpenCode Zen","href":"/admin/providers/opencode"},{"title":"Qianfan","href":"/admin/providers/qianfan"},{"title":"Deepgram","href":"/admin/providers/deepgram"},{"title":"ElevenLabs (Streaming Voice)","href":"/admin/providers/elevenlabs"},{"title":"Kokoro (Local TTS)","href":"/admin/providers/kokoro"},{"title":"Claude Max API Proxy","href":"/admin/providers/claude-max-api-proxy"}]},{"group":"Security","icon":"shield-check","pages":[{"title":"Security hardening","href":"/admin/security"}]},{"group":"Maintenance","icon":"wrench","pages":[{"title":"Doctor","href":"/admin/doctor"},{"title":"Upgrading and migrating","href":"/admin/upgrading"},{"title":"Troubleshooting","href":"/admin/troubleshooting"}]},{"group":"Admin","pages":[{"title":"Logging","href":"/admin/logging"},{"title":"Network","href":"/admin/network"}]},{"group":"Channels (synced pages)","pages":[{"title":"A2A","href":"/admin/channels/a2a"},{"title":"BlueBubbles","href":"/admin/channels/bluebubbles"},{"title":"Broadcast Groups","href":"/admin/channels/broadcast-groups"},{"title":"Channel Routing","href":"/admin/channels/channel-routing"},{"title":"Google Chat","href":"/admin/channels/googlechat"},{"title":"Group Messages","href":"/admin/channels/group-messages"},{"title":"Groups","href":"/admin/channels/groups"},{"title":"IRC","href":"/admin/channels/irc"},{"title":"LINE","href":"/admin/channels/line"},{"title":"Channel Location Parsing","href":"/admin/channels/location"},{"title":"Mattermost","href":"/admin/channels/mattermost"},{"title":"Nextcloud Talk","href":"/admin/channels/nextcloud-talk"},{"title":"Nostr","href":"/admin/channels/nostr"},{"title":"Pairing","href":"/admin/channels/pairing"},{"title":"Synology Chat","href":"/admin/channels/synology-chat"},{"title":"Tlon","href":"/admin/channels/tlon"},{"title":"Channel Troubleshooting","href":"/admin/channels/troubleshooting"},{"title":"Twitch","href":"/admin/channels/twitch"},{"title":"Zalo","href":"/admin/channels/zalo"},{"title":"Zalo Personal","href":"/admin/channels/zalouser"}]},{"group":"Gateway (synced pages)","pages":[{"title":"Background Exec and Process Tool","href":"/admin/gateway/background-process"},{"title":"Bonjour Discovery","href":"/admin/gateway/bonjour"},{"title":"Bridge Protocol","href":"/admin/gateway/bridge-protocol"},{"title":"CLI Backends","href":"/admin/gateway/cli-backends"},{"title":"Configuration Examples","href":"/admin/gateway/configuration-examples"},{"title":"Configuration Reference","href":"/admin/gateway/configuration-reference"},{"title":"Discovery and Transports","href":"/admin/gateway/discovery"},{"title":"Doctor","href":"/admin/gateway/doctor"},{"title":"Gateway Lock","href":"/admin/gateway/gateway-lock"},{"title":"Health Checks","href":"/admin/gateway/health"},{"title":"Gateway Runbook","href":"/admin/gateway/index"},{"title":"Local Models","href":"/admin/gateway/local-models"},{"title":"Multiple Gateways","href":"/admin/gateway/multiple-gateways"},{"title":"Network model","href":"/admin/gateway/network-model"},{"title":"OpenAI Chat Completions","href":"/admin/gateway/openai-http-api"},{"title":"OpenResponses API","href":"/admin/gateway/openresponses-http-api"},{"title":"Outbound Delivery Queue","href":"/admin/gateway/outbound-delivery"},{"title":"Gateway-Owned Pairing","href":"/admin/gateway/pairing"},{"title":"Gateway protocol (WebSocket)","href":"/admin/gateway/protocol"},{"title":"Remote Access","href":"/admin/gateway/remote"},{"title":"Remote Gateway Setup","href":"/admin/gateway/remote-gateway-readme"},{"title":"Sandbox vs Tool Policy vs Elevated","href":"/admin/gateway/sandbox-vs-tool-policy-vs-elevated"},{"title":"Sandboxing","href":"/admin/gateway/sandboxing"},{"title":null,"href":"/admin/gateway/sandboxing-admin"},{"title":null,"href":"/admin/gateway/sandboxing-developer"},{"title":null,"href":"/admin/gateway/sandboxing-user"},{"title":"Secrets Management","href":"/admin/gateway/secrets"},{"title":"Secrets Apply Plan Contract","href":"/admin/gateway/secrets-plan-contract"},{"title":"Tailscale","href":"/admin/gateway/tailscale"},{"title":"Tools Invoke API","href":"/admin/gateway/tools-invoke-http-api"},{"title":null,"href":"/admin/gateway/trusted-proxy-auth"}]},{"group":"Gateway security","pages":[{"title":"Security","href":"/admin/gateway/security/index"},{"title":null,"href":"/admin/gateway/security/network-egress-policy"}]},{"group":"Installation","pages":[{"title":"Ansible","href":"/admin/install/ansible"},{"title":"Release channels","href":"/admin/install/development-channels"},{"title":"Docker","href":"/admin/install/docker"},{"title":"exe.dev","href":"/admin/install/exe-dev"},{"title":"Fly.io","href":"/admin/install/fly"},{"title":"GCP","href":"/admin/install/gcp"},{"title":"Hetzner","href":"/admin/install/hetzner"},{"title":"Installer Internals","href":"/admin/install/installer"},{"title":"macOS VMs","href":"/admin/install/macos-vm"},{"title":"Migration Guide","href":"/admin/install/migrating"},{"title":"Nix","href":"/admin/install/nix"},{"title":"Node.js","href":"/admin/install/node"},{"title":"Deploy on Northflank","href":"/admin/install/northflank"},{"title":"Podman","href":"/admin/install/podman"},{"title":"Deploy on Railway","href":"/admin/install/railway"},{"title":"Deploy on Render","href":"/admin/install/render"},{"title":"Uninstall","href":"/admin/install/uninstall"},{"title":"Updating","href":"/admin/install/updating"},{"title":"How WednesdayAI updates reach you","href":"/admin/install/trusted-npm-publishing-user"}]},{"group":"Platforms","pages":[{"title":"Android App","href":"/admin/platforms/android"},{"title":"DigitalOcean","href":"/admin/platforms/digitalocean"},{"title":"iOS App","href":"/admin/platforms/ios"},{"title":"Linux App","href":"/admin/platforms/linux"},{"title":"macOS App","href":"/admin/platforms/macos"},{"title":"Oracle Cloud","href":"/admin/platforms/oracle"},{"title":"Raspberry Pi","href":"/admin/platforms/raspberry-pi"},{"title":"Windows (WSL2)","href":"/admin/platforms/windows"}]},{"group":"macOS app","pages":[{"title":"Gateway on macOS","href":"/admin/platforms/mac/bundled-gateway"},{"title":"Canvas","href":"/admin/platforms/mac/canvas"},{"title":"macOS Dev Setup","href":"/admin/platforms/mac/dev-setup"},{"title":"Health Checks","href":"/admin/platforms/mac/health"},{"title":"Menu Bar","href":"/admin/platforms/mac/menu-bar"},{"title":"Peekaboo Bridge","href":"/admin/platforms/mac/peekaboo"},{"title":"macOS Release","href":"/admin/platforms/mac/release"},{"title":"macOS Signing","href":"/admin/platforms/mac/signing"},{"title":"Skills","href":"/admin/platforms/mac/skills"},{"title":"Voice Overlay","href":"/admin/platforms/mac/voice-overlay"},{"title":"Voice Wake","href":"/admin/platforms/mac/voicewake"},{"title":"WebChat","href":"/admin/platforms/mac/webchat"}]},{"group":"More providers","pages":[{"title":"Brave Search","href":"/admin/providers/brave-search"},{"title":"Perplexity Sonar","href":"/admin/providers/perplexity"},{"title":"Synthetic","href":"/admin/providers/synthetic"}]},{"group":"Security","pages":[{"title":null,"href":"/admin/security/CONTRIBUTING-THREAT-MODEL"},{"title":null,"href":"/admin/security/README"},{"title":null,"href":"/admin/security/THREAT-MODEL-ATLAS"},{"title":"Formal Verification (Security Models)","href":"/admin/security/formal-verification"}]},{"group":"Web UI","pages":[{"title":"Dashboard","href":"/admin/web/dashboard"},{"title":"Web client hosting","href":"/admin/web/user-client"},{"title":"Control UI v2","href":"/admin/web/control-ui-v2"}]},{"group":"Shohin","pages":[{"title":"Shohin administration","href":"/admin/shohin"}]}]},{"tab":"Users","icon":"user-round","pages":[{"title":"Users","href":"/users/what-is-wednesdayai"}]},{"tab":"Developers","icon":"code","pages":[{"title":"Developers","href":"/developers/overview"}]},{"tab":"Reference","icon":"book-open","pages":[{"title":"Reference","href":"/reference/config"}]}]},{"version":"next","tag":"Unreleased","pages":[{"title":"next","href":"/next/admin/providers/ollama"}]}]},"basePath":"","title":"Ollama - WednesdayAI","deploymentId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","buildId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","dynamics":["10e4515597"],"chunks":["BannerMarkdown-DnSAhvaM.js","dist-DIfYWxfm.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}