Skip to content

parameterize router name using env var - #465

Open
lilly-luo wants to merge 8 commits into
mainfrom
lilly/allow-parameterization-of-router-name
Open

parameterize router name using env var#465
lilly-luo wants to merge 8 commits into
mainfrom
lilly/allow-parameterization-of-router-name

Conversation

@lilly-luo

@lilly-luo lilly-luo commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

isaac wants to be able to control the router that ucode uses for smart routing. this exposes the router name (previously hardcoded to task_v1) as an environment variable.

tested with:
-[x] codex: ENABLE_SMART_ROUTING_V2=1 SMART_ROUTER_NAME=task_v2 uv run ucode codex --workspace https://eng-ml-inference.staging.cloud.databricks.com/
i know it's going to task_v2 because of the rationale saying "low" tier

Screenshot 2026-09-02 at 8 36 53 PM

-[x] cc: ENABLE_SMART_ROUTING_V2=1 SMART_ROUTER_NAME=task_v2 uv run ucode claude --workspace https://eng-ml-inference.staging.cloud.databricks.com/
Screenshot 2026-09-02 at 8 38 09 PM

the cc routing is concerning but it works..

@lilly-luo lilly-luo changed the title Lilly/allow parameterization of router name parameterize router name using env var Sep 3, 2026
@lilly-luo
lilly-luo requested a review from andy-xu-db September 3, 2026 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant