Litellm dev 07 21 2025 p1 (#12848)

* fix(main.py): fix async retryer

Fixes https://github.com/BerriAI/litellm/issues/12830

* fix(forward_clientside_headers_by_model_group.py): filter out 'content-type' from forwardable headers

clientside content-type != proxy content type, can cause requests to hang

* test(tests/): update tests
This commit is contained in:
Krish Dholakia
2025-07-21 22:09:39 -07:00
committed by GitHub
parent db498c1805
commit e4e10aa4ed
72 changed files with 337 additions and 4024 deletions
+1 -1
View File
@@ -791,7 +791,7 @@ async def test_watsonx_tool_choice(sync_mode):
mock_completion.assert_called_once()
print(mock_completion.call_args.kwargs)
json_data = json.loads(mock_completion.call_args.kwargs["data"])
json_data["tool_choice_option"] == "auto"
json_data["tool_choice_options"] == "auto"
except Exception as e:
print(e)
if "The read operation timed out" in str(e):