fix anthropic tool result format (#2246)

This commit is contained in:
Shuchang Zheng
2025-04-29 04:17:50 +08:00
committed by GitHub
parent 2f10e3c430
commit f4ea546ae4
4 changed files with 15 additions and 4 deletions

View File

@@ -700,6 +700,7 @@ class LLMCaller:
betas=betas,
tools=tools,
timeout=timeout,
messages_length=len(messages),
)
response = await app.ANTHROPIC_CLIENT.beta.messages.create(
max_tokens=max_tokens,