Spaces:
Configuration error
Configuration error
|
Download docs/modules/usage/llms/litellm-proxy.md from flyingdarkdev/README: direct link, hf CLI and curl.
- Browser
- Download file 984 Bytes
-
https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/docs/modules/usage/llms/litellm-proxy.md
- Command line
-
hf download hf://spaces/flyingdarkdev/README/docs/modules/usage/llms/litellm-proxy.md
-
curl -L -o litellm-proxy.md https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/docs/modules/usage/llms/litellm-proxy.md
984 Bytes
LiteLLM Proxy
OpenHands supports using the LiteLLM proxy to access various LLM providers.
Configuration
To use LiteLLM proxy with OpenHands, you need to:
- Set up a LiteLLM proxy server (see LiteLLM documentation)
- When running OpenHands, you'll need to set the following in the OpenHands UI through the Settings:
- Enable
Advancedoptions Custom Modelto the prefixlitellm_proxy/+ the model you will be using (e.g.litellm_proxy/anthropic.claude-3-5-sonnet-20241022-v2:0)Base URLto your LiteLLM proxy URL (e.g.https://your-litellm-proxy.com)API Keyto your LiteLLM proxy API key
Supported Models
The supported models depend on your LiteLLM proxy configuration. OpenHands supports any model that your LiteLLM proxy is configured to handle.
Refer to your LiteLLM proxy configuration for the list of available models and their names.