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
fix(routing): validate LITELLM settings in resolve_route (evaluate-only path, -O safe)
resolve_route is reached on the evaluate-only path without a preceding
validate_api_keys(), so a scheme-less/missing LITELLM_BASE_URL there escaped
validation and recorded an empty host in environment_info; the arm's asserts were
also strippable under 'python -O'. Call _validate_litellm_settings() in the LiteLLM
arm (raise, not assert) so both the normal and evaluate-only paths validate presence
+ URL scheme with a field-named error; narrowing asserts kept for pyright only.
Closes the blocker-2 evaluate-only edge + review non-blocking #11.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments