Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Update LocalLLMs.md (#1267)

Andrii Stadnik900de8728cf6
diff --git a/docs/guides/LocalLLMs.md b/docs/guides/LocalLLMs.md
index 1e0afdb8bc..8666324310 100644
--- a/docs/guides/LocalLLMs.md
+++ b/docs/guides/LocalLLMs.md
@@ -32,7 +32,7 @@ But when running `docker run`, you'll need to add a few more arguments:
```bash
--add-host host.docker.internal=host-gateway \
-e LLM_API_KEY="ollama" \
--e LLM_BASE_URL="http://localhost:11434" \
+-e LLM_BASE_URL="http://host.docker.internal:11434" \
```
For example:
@@ -44,7 +44,7 @@ export WORKSPACE_DIR=$(pwd)/workspace
docker run \
--add-host host.docker.internal=host-gateway \
-e LLM_API_KEY="ollama" \
- -e LLM_BASE_URL="http://localhost:11434" \
+ -e LLM_BASE_URL="http://host.docker.internal:11434" \
-e WORKSPACE_MOUNT_PATH=$WORKSPACE_DIR \
-v $WORKSPACE_DIR:/opt/workspace_base \
-v /var/run/docker.sock:/var/run/docker.sock \