From ce681f3934ca0a192ea48bf355ca82ddd2b236b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hippolyte=20L=C3=A9v=C3=AAque?= Date: Thu, 13 Feb 2025 12:21:39 +0100 Subject: [PATCH] Added tools on the second call to Claude for avoiding error 400. --- quickstart/client.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/quickstart/client.mdx b/quickstart/client.mdx index 39b8e5a..9a0fbaa 100644 --- a/quickstart/client.mdx +++ b/quickstart/client.mdx @@ -200,6 +200,7 @@ async def process_query(self, query: str) -> str: model="claude-3-5-sonnet-20241022", max_tokens=1000, messages=messages, + tools=available_tools ) final_text.append(response.content[0].text)