mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-26 06:03:19 +00:00
fix: type tool_choice param instead of Any to satisfy ANN401 strict-rule budget
This commit is contained in:
parent
2b0e2b1ec6
commit
45c13dd466
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue