Skip to content

Commit

Permalink
Update LocalLLMs.md (All-Hands-AI#1267)
Browse files Browse the repository at this point in the history
  • Loading branch information
anstadnik authored Apr 21, 2024
1 parent 7bd5417 commit 900de87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guides/LocalLLMs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 \
Expand Down

0 comments on commit 900de87

Please sign in to comment.