You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
Add support for configuring the AI model settings through environment variables, allowing users to specify model configurations in docker-compose files rather than through the Advanced Options UI.
Motivation
Currently, users need to navigate to the Advanced Options interface and manually input model configurations. This approach has several limitations:
It requires manual intervention for each deployment
Makes it difficult to version control model configurations
Complicates automated deployments and CI/CD pipelines
Increases the likelihood of configuration errors across different environments
Creates friction when sharing configurations across team members
By supporting environment variables, we can streamline the deployment process and align with Docker best practices for configuration management.
Technical Design
Proposed Environment Variables
OPENHANDS_MODEL_PROVIDER=openai|anthropic|other_providers
OPENHANDS_MODEL_NAME=gpt-4|claude-3|etc
OPENHANDS_API_KEY=your_api_key
OPENHANDS_API_BASE_URL=https://api.example.com # Optional, for custom endpoints
Summary
Add support for configuring the AI model settings through environment variables, allowing users to specify model configurations in docker-compose files rather than through the Advanced Options UI.
Motivation
Currently, users need to navigate to the Advanced Options interface and manually input model configurations. This approach has several limitations:
By supporting environment variables, we can streamline the deployment process and align with Docker best practices for configuration management.
Technical Design
Proposed Environment Variables
example docker file
Alternatives to Consider
Additional context
The text was updated successfully, but these errors were encountered: