Added tools on the second call to Claude for avoiding error 400. (#136)
This commit is contained in:
parent
41e683dd7f
commit
02a82301dc
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue