brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
routingUse this when configuring, validating, or debugging LiteLLM Router model groups, fallbacks, retries, cooldowns, budgets, routing strategies, health-check routing, aliases, tag filtering, adaptive/quality/complexity routing, or proxy YAML routing behavior.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill for LiteLLM's Router class and proxy routing configuration. Route raw one-off SDK calls to sdk-core, proxy deployment and admin operations to proxy-server, and provider-specific endpoint/auth details to providers-and-endpoints.
model_list[*].model_name; fallbacks, aliases, routing groups, tag filtering, and adaptive router configs all refer to these logical names unless they explicitly configure provider model strings under litellm_params.model.python sub-skills/routing/scripts/inspect_router_config.py path/to/config.yaml
litellm.Router(model_list=[...]) and call router.completion(...), await router.acompletion(...), router.embedding(...), or await router.aembedding(...). Do not mix sync methods inside an active async event loop.model_name.model_list entries with the same model_name, each with its own litellm_params.model, credentials, and optional rpm/tpm.fallbacks: [{primary-group: [backup-group]}] and optionally default_fallbacks or [{"*": [...]}] for generic fallback behavior.num_retries, retry_policy, allowed_fails, allowed_fails_policy, cooldown_time, and max_fallbacks together; retries happen before or within fallback flows depending on the error path.enable_pre_call_checks for context/rate/budget checks and enable_tag_filtering when requests must choose deployments by tags.routing_strategy from simple-shuffle, least-busy, usage-based-routing, usage-based-routing-v2, latency-based-routing, or cost-based-routing; use routing_groups when different logical groups need different strategies.enable_health_check_routing and keep health checks fresh; stale state can filter otherwise valid deployments.model_group_alias when one public model name should resolve to another group or alias definition while preserving client compatibility.auto_router/adaptive_router, auto_router/quality_router, or auto_router/complexity_router control deployments and list their selectable underlying model groups.references/router-api.mdreferences/proxy-routing-config.mdreferences/troubleshooting.mdscripts/inspect_router_config.pyThe bundled inspection script parses local YAML/JSON only. It does not import LiteLLM, read provider credentials, start the proxy, or call external model providers.