diff --git a/enterprise/environment-variables.mdx b/enterprise/environment-variables.mdx index 148a91b4e..219926817 100644 --- a/enterprise/environment-variables.mdx +++ b/enterprise/environment-variables.mdx @@ -494,7 +494,7 @@ These variables show or hide parts of the app. | `HIDE_LLM_SETTINGS` | `false` | Hide the LLM settings pages. | | `HIDE_INTEGRATIONS_PAGE` | `false` | Hide the Integrations settings page. | | `HIDE_USERS_PAGE` | `false` | Hide the User settings page. | -| `ENABLE_MODEL_ROUTER` | `false` | Show the organization's Model Router page. | +| `ENABLE_MODEL_ROUTER` | `false` | Enable Model Router for organizations. For Helm, see [Enable Model Router on Kubernetes](/enterprise/integrations/models-and-gateways#enable-model-router-on-kubernetes). | | `ENABLE_AGENT_PROFILES_PAGE` | `false` | Show the Agent Profiles page. | | `ENABLE_AGENT_CONTEXT_PAGE` | `false` | Show the Agent Context page. | | `ENABLE_ORG_AGENT_PROFILES` | `false` | Let organizations share agent profiles. | diff --git a/enterprise/integrations/models-and-gateways.mdx b/enterprise/integrations/models-and-gateways.mdx index ba66258c7..5788b1bdb 100644 --- a/enterprise/integrations/models-and-gateways.mdx +++ b/enterprise/integrations/models-and-gateways.mdx @@ -54,6 +54,35 @@ header. The per-member guide covers Docker Compose and Helm with the OpenHands R LiteLLM as the validated example. For other gateways, verify authentication, spend attribution, and limits for each member’s key. +## Enable Model Router on Kubernetes + +To make **Model Router** available in organization settings, add the following +to the `env` section of your Helm values. + +```yaml +env: + ENABLE_MODEL_ROUTER: "true" +``` + +Apply your updated values to your existing release. Use the chart version you +already run and pass the same values files you used for that release. + +```bash +helm upgrade oci://ghcr.io/openhands/helm-charts/openhands \ + --version --namespace --values values.yaml +``` + +The chart's defaults use plain flags, so use `ENABLE_MODEL_ROUTER` with those +defaults. Adding any `OH_WEB_CLIENT_FEATURE_FLAGS_*` variable switches how the +web client reads feature flags. In structured mode, Super Admin, OAuth v2 +login, personal workspace and billing visibility, and user LLM configuration +use their structured values or the web client's defaults. + +If you added `OH_WEB_CLIENT_FEATURE_FLAGS_ENABLE_MODEL_ROUTER` as the only +structured flag on your installation, replace it with `ENABLE_MODEL_ROUTER`. +If your installation intentionally uses other structured flags, set +`OH_WEB_CLIENT_FEATURE_FLAGS_ENABLE_MODEL_ROUTER: "true"` alongside them. + ## Provider-specific setup These guides cover provider credentials, endpoints, and model IDs for the deployment methods diff --git a/enterprise/k8s-install/installation.mdx b/enterprise/k8s-install/installation.mdx index 935644ed6..23b28fdf7 100644 --- a/enterprise/k8s-install/installation.mdx +++ b/enterprise/k8s-install/installation.mdx @@ -364,6 +364,8 @@ overrides on the same release — edit your `values.yaml` and apply with for your chosen upgrade version. Preserve all provider-specific values; on AKS, pass `--values values-aks-runc.yaml` last, after the base values and any feature overlays. +To enable Model Router, see the [Helm values example](/enterprise/integrations/models-and-gateways#enable-model-router-on-kubernetes). + Configure Azure OpenAI and Azure AI Foundry model routes.