From 02a82301dce79de1af74e35ec7fae099a183d51c Mon Sep 17 00:00:00 2001 From: hippolyteleveque <166562470+hippolyteleveque@users.noreply.github.com> Date: Mon, 17 Feb 2025 11:56:19 +0100 Subject: [PATCH] Added tools on the second call to Claude for avoiding error 400. (#136) --- quickstart/client.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/quickstart/client.mdx b/quickstart/client.mdx index 5fbff03..a751bed 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)