litellm/litellm/proxy/example_config_yaml
Mateo Wang 33c363d4d4
Extend the record/replay proxy to chat, embeddings, moderations, rerank, and Anthropic (#29847)
* test(ci): extend record/replay proxy to chat, embeddings, moderations, rerank, anthropic

The record/replay proxy that took the gpt-image-1 spend E2E off the live OpenAI
path now fronts every provider, so the other real-provider E2Es stop paying for
and depending on live calls each commit. It keys per upstream and selects a
non-OpenAI provider by a /__recorder_upstream/<host>/ path prefix carried on the
model's api_base, since some litellm handlers (cohere rerank) drop custom
request headers. Wired into build_and_test (chat, embeddings, moderations,
image), the otel job (cohere rerank), and the anthropic-messages job via a
reusable start_openai_record_replay_proxy command.

Dropped the time.time()/uuid prompt cache-busters in the build_and_test chat
tests, whose config has the response cache off, so identical requests are
recordable. The image spend test now asserts a repeat call still bills spend,
failing loudly if the proxy response cache is ever turned on.

Responses, the anthropic passthrough, bedrock, and fake-endpoint tests are left
live: their lifecycles, api_base assertions, providers, or fake targets make a
stateless body-keyed cache either break them or add nothing.

* docs(ci): note the recorder command's OpenAI default upstream and prefix override

Addresses a review note: the shared start_openai_record_replay_proxy command
defaults the upstream to OpenAI, so a non-OpenAI model must carry the
/__recorder_upstream/<host>/ prefix on its api_base. Document that in the
command description so a future caller does not assume the default follows the
provider.
2026-06-06 14:33:42 -07:00
..
_health_check_test_config.yaml feat(utils.py): support google kms for secret management 2023-12-26 15:39:40 +05:30
adaptive_router_example.yaml fix(adaptive_router): 3 P1 review defects 2026-04-20 15:22:18 -07:00
aliases_config.yaml (chore) fix config yaml 2023-11-15 17:12:28 -08:00
azure_config.yaml (docs) add example config.yaml 2023-12-04 18:08:57 -08:00
bad_schema.prisma Litellm expose disable schema update flag (#6085) 2024-10-05 21:26:51 -04:00
custom_auth.py fix user_api_key_auth example config 2025-03-26 08:36:11 -07:00
custom_auth_basic.py [Infra] Merging RC Branch with Main (#23786) 2026-03-16 15:32:20 -07:00
custom_callbacks.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
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_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 Litellm remove circular imports (#7232) 2024-12-14 16:28:34 -08:00
disable_schema_update.yaml (Infra/DB) - Allow running older litellm version when out of sync with current state of DB (#8695) 2025-02-20 18:30:23 -08:00
enterprise_config.yaml (fix) don't block proxy startup if license check fails & using prometheus (#6839) 2024-11-20 17:55:39 -08:00
langfuse_config.yaml (docs) add example configs to proxy 2023-11-15 16:41:26 -08:00
load_balancer.yaml (docs) load balancer 2023-11-17 17:25:46 -08:00
multi_instance_simple_config.yaml (e2e testing) - add tests for using litellm /team/ updates in multi-instance deployments with Redis (#8440) 2025-02-10 19:33:27 -08:00
oai_misc_config.yaml Revert "chore(tests): migrate Bedrock CI to AWS account 941277531214 (#28728)" (#29326) 2026-05-30 11:26:24 -07:00
opentelemetry_config.yaml (docs) proxy: add example OTEL config yaml 2023-12-02 11:22:40 -08:00
otel_test_config.yaml Extend the record/replay proxy to chat, embeddings, moderations, rerank, and Anthropic (#29847) 2026-06-06 14:33:42 -07:00
pass_through_config.yaml chore(ci): modernize model references in tests and configs (#27856) 2026-05-15 15:44:28 -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 chore(ci): modernize model references in tests and configs (#27856) 2026-05-15 15:44:28 -07:00
spend_tracking_config.yaml chore(ci): modernize model references in tests and configs (#27856) 2026-05-15 15:44:28 -07:00
store_model_db_config.yaml (Bug fix) - Langfuse / Callback settings stored in DB (#8251) 2025-02-04 21:09:37 -08:00
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 oss staging 050626 (#29774) 2026-06-05 13:51:51 -07:00