Investigations - OpenHands
Overview
Tips
Prompt
Repository Customizations
How to configure the timeout for LLM? > litellm.exceptions.Timeout: litellm.Timeout: Connection timed out after 600.0 seconds.
TL;DR export LLM_TIMEOUT=1200
-
OpenHands/openhands/resolver/issue_resolver.py at 9a5e5956fc5bf0a9a66ec8307d9863054b8aa838 · All-Hands-AI/OpenHands - https://github.com/All-Hands-AI/OpenHands/blob/9a5e5956fc5bf0a9a66ec8307d9863054b8aa838/openhands/resolver/issue_resolver.py#L109
Backend
Cheat Sheet
$ docker run -it --rm --pull=always \
-e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.39-nikolaik \
-e LOG_ALL_EVENTS=true \
-e VITE_BACKEND_BASE_URL='' \
-e LLM_TIMEOUT=1200 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ~/.openhands-state:/.openhands-state \
-p 3000:3000 \
--add-host host.docker.internal:host-gateway \
--name openhands-app \
docker.all-hands.dev/all-hands-ai/openhands:0.39