fix: type tool_choice param instead of Any to satisfy ANN401 strict-rule budget

This commit is contained in:
TobiMayr 2026-07-28 20:22:07 +01:00
parent 2b0e2b1ec6
commit 45c13dd466

View file

@ -168,7 +168,7 @@ class LiteLLMCompletionResponsesConfig:
@staticmethod
def _transform_tool_choice_for_responses_api_response(
tool_choice: Any,
tool_choice: str | dict[str, Any] | None,
) -> str | dict[str, Any] | None:
"""
Inverse of ``_transform_tool_choice``: normalizes tool_choice into the