From b06b05d9372848db3bc0c4badf7ffe896a2fcd2e Mon Sep 17 00:00:00 2001 From: Stefan Buys <22056509+StefanB7@users.noreply.github.com> Date: Mon, 27 Jan 2025 08:01:26 +0200 Subject: [PATCH] Specify api base for ollama Specifies the ollama api base, as some run ollama on a different machine than their localhost, making it easy for them to see where to change the api base. --- docs/docs/chat/model-setup.mdx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/docs/chat/model-setup.mdx b/docs/docs/chat/model-setup.mdx index eb7dc5430..e7e6ca94a 100644 --- a/docs/docs/chat/model-setup.mdx +++ b/docs/docs/chat/model-setup.mdx @@ -129,7 +129,8 @@ If your local machine can run an 8B parameter model, then we recommend running L { "title": "Llama 3.1 8B", "provider": "ollama", - "model": "llama3.1:8b" + "model": "llama3.1:8b", + "apiBase": "http://localhost:11434" } ] ``` @@ -158,7 +159,8 @@ If your local machine can run a 16B parameter model, then we recommend running D { "title": "DeepSeek Coder 2 16B", "provider": "ollama", - "model": "deepseek-coder-v2:16b" + "model": "deepseek-coder-v2:16b", + "apiBase": "http://localhost:11434" } ] ```