mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
fix test_litellm_anthropic_prompt_caching_tools
This commit is contained in:
parent
c36a808e0b
commit
cac82de4f4
1 changed files with 1 additions and 5 deletions
|
|
@ -164,11 +164,7 @@ class AnthropicConfig:
|
|||
tool["function"].get("parameters", None) or {}
|
||||
)
|
||||
_tool_input_schema: AnthropicInputSchema = AnthropicInputSchema(
|
||||
type=_input_function_parameters.get("type", "object"),
|
||||
properties=_input_function_parameters.get("properties", {}),
|
||||
additionalProperties=_input_function_parameters.get(
|
||||
"additionalProperties", True
|
||||
),
|
||||
**_input_function_parameters
|
||||
)
|
||||
_tool = AnthropicMessagesTool(
|
||||
name=tool["function"]["name"],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue