Skip to content

The open source coding agent.

TypeScript

docs: ollama num_ctx (#3111)

Aiden Cline83afcb9c427a
diff --git a/packages/web/src/content/docs/providers.mdx b/packages/web/src/content/docs/providers.mdx
index 30e93d0ceeb..e66e0644c7c 100644
--- a/packages/web/src/content/docs/providers.mdx
+++ b/packages/web/src/content/docs/providers.mdx
@@ -526,6 +526,10 @@ In this example:
- `options.baseURL` is the endpoint for the local server.
- `models` is a map of model IDs to their configurations. The model name will be displayed in the model selection list.
+:::tip
+If tool calls aren't working, try increasing num_ctx in Ollama. Start around 16k-32k.
+:::
+
---
### OpenAI