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["function"].get("parameters", None) or {}
|
||||||
)
|
)
|
||||||
_tool_input_schema: AnthropicInputSchema = AnthropicInputSchema(
|
_tool_input_schema: AnthropicInputSchema = AnthropicInputSchema(
|
||||||
type=_input_function_parameters.get("type", "object"),
|
**_input_function_parameters
|
||||||
properties=_input_function_parameters.get("properties", {}),
|
|
||||||
additionalProperties=_input_function_parameters.get(
|
|
||||||
"additionalProperties", True
|
|
||||||
),
|
|
||||||
)
|
)
|
||||||
_tool = AnthropicMessagesTool(
|
_tool = AnthropicMessagesTool(
|
||||||
name=tool["function"]["name"],
|
name=tool["function"]["name"],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue