fix: fix linting error

This commit is contained in:
Krrish Dholakia 2024-07-10 22:14:23 -07:00
parent af1064941a
commit c46e3ce590

View file

@ -422,7 +422,7 @@ class AnthropicConfig:
AnthropicResponseContentBlockToolUse( AnthropicResponseContentBlockToolUse(
type="tool_use", type="tool_use",
id=tool_call.id, id=tool_call.id,
name=tool_call.function.name, name=tool_call.function.name or "",
input=json.loads(tool_call.function.arguments), input=json.loads(tool_call.function.arguments),
) )
) )