mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
Wildcard openrouter/* deployments pass custom_llm_provider=openrouter with the full openrouter/provider/model id; OpenRouter expects provider/model. Strip the outer openrouter/ only when the remainder contains a slash so native ids like openrouter/auto stay intact. Adds regression test for proxy wildcard path. Made-with: Cursor |
||
|---|---|---|
| .. | ||
| chat | ||
| image_edit | ||
| image_generation | ||
| responses | ||
| test_openrouter_embedding_transformation.py | ||
| test_openrouter_provider_routing.py | ||