mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-16 09:22:22 +00:00
fix(openai_like): mark the dict signature of transform_parsed_response_dict as matching BaseConfig for LIT001
This commit is contained in:
parent
973eb36103
commit
6a76a42d88
1 changed files with 3 additions and 1 deletions
|
|
@ -201,7 +201,9 @@ def create_config_class(provider: SimpleProviderConfig):
|
|||
|
||||
return optional_params
|
||||
|
||||
def transform_parsed_response_dict(self, parsed_response: dict[str, object]) -> dict[str, object]:
|
||||
def transform_parsed_response_dict(
|
||||
self, parsed_response: dict[str, object]
|
||||
) -> dict[str, object]: # mutable-ok: BaseConfig signature
|
||||
"""
|
||||
Carry the provider's usage.tool_usage search count as usage.server_tool_use.web_search_requests,
|
||||
the field the built-in tool cost path bills per call.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue