litellm/litellm/proxy/example_config_yaml
Krrish Dholakia fba736ca3c fix(adaptive_router): 3 P1 review defects
- Use 'auto_router/adaptive_router' prefix in example yaml, docs, and
  README — the old 'adaptive_router/...' and 'openai/gpt-4o-mini' values
  silently skipped adaptive-router init because detection requires the
  'auto_router/adaptive_router' prefix.

- Read x-litellm-min-quality-tier from request headers (and the
  'min_quality_tier' metadata key as fallback) in async_pre_routing_hook.
  Previously the documented header was defined but never extracted, so
  the quality-floor feature was inert.

- Evict expired entries from _session_states. The cache grew without
  bound — added a parallel expiry map (same TTL as _owner_cache) and an
  opportunistic bulk sweep when the cache crosses a size threshold.

- Align adaptive-router migration SQL with Prisma schema: all count
  columns and the 'clean_credit_awarded' / 'last_processed_turn' fields
  are NOT NULL in the data model, so the migration now declares them
  NOT NULL. Fixes test_aaaasschema_migration_check.

Tests: 8 new covering header/metadata/precedence/invalid-value paths for
min_quality_tier and TTL-based eviction of _session_states.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 15:22:18 -07:00
..
_health_check_test_config.yaml
adaptive_router_example.yaml fix(adaptive_router): 3 P1 review defects 2026-04-20 15:22:18 -07:00
aliases_config.yaml
azure_config.yaml
bad_schema.prisma
custom_auth_basic.py [Infra] Merging RC Branch with Main (#23786) 2026-03-16 15:32:20 -07:00
custom_auth.py
custom_callbacks1.py feat(audio_transcriptions/): calculate duration of audio file for cost calculation + feat (image_generations): cost tracking accuracy improved with output_format, quality, size values fixed per openai model 2025-11-08 16:24:31 -08:00
custom_callbacks.py
custom_guardrail.py [Feat] Guardrails Load Balancing - Allow Platform admins to load balance between guardrails (#18181) 2025-12-19 00:08:03 +05:30
custom_handler.py
disable_schema_update.yaml
enterprise_config.yaml
langfuse_config.yaml
load_balancer.yaml
multi_instance_simple_config.yaml
oai_misc_config.yaml [QA] E2E - Testing for bedrock batches api (#14525) 2025-09-12 19:31:19 -07:00
opentelemetry_config.yaml
otel_test_config.yaml test fix 2026-03-30 21:39:24 -07:00
pass_through_config.yaml pt tests fix 2025-10-25 11:08:33 -07:00
pipeline_test_guardrails.py [Guardrails] Add guardrail pipeline support for conditional sequential execution (#21177) 2026-02-13 19:49:12 -08:00
reject_clientside_metadata_tags_config.yaml Add enforce user param functionality (#17088) 2025-11-25 09:36:24 -08:00
simple_config.yaml
spend_tracking_config.yaml [Fix] Update otel and spend tracking test configs to use gpt-3.5-turbo 2026-03-13 13:08:36 -07:00
store_model_db_config.yaml
test_pipeline_config.yaml [Guardrails] Add guardrail pipeline support for conditional sequential execution (#21177) 2026-02-13 19:49:12 -08:00
tool_permission_example.yaml feat: allow custom violation message for tool-permission guardrail (#16916) 2025-11-21 08:52:01 -08:00
websearch_interception_config.yaml Litellm fix update bedrock models (#24947) 2026-04-01 19:22:54 -07:00