forked from phoenix/litellm-mirror
fix test_litellm_anthropic_prompt_caching_tools
This commit is contained in:
parent
368959f9f3
commit
186a679243
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
Add a link
Reference in a new issue