mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-10 07:18:10 -05:00
Update LocalLLMs.md (#1267)
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user