mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-05 01:59:27 +00:00
* fix(proxy): Restamp the requested model on frozen decisions responses DecisionsResponse is a frozen pydantic model, so setting model raised and the proxy returned the backend model name. Copy any frozen response with the requested model, as was already done for ExtractionResponse. Signed-off-by: raedbrahem <raed@1dev.space> * test(proxy): Pin in-place restamp for mutable model responses Signed-off-by: raedbrahem <raed@1dev.space> * test(proxy): annotate the new restamp test variables as Final * test(proxy): expect the requested model name from the decisions endpoint --------- Signed-off-by: raedbrahem <raed@1dev.space> Co-authored-by: raedbrahem <raed@1dev.space> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_endpoints.py | ||