mirror of
https://github.com/invariantlabs-ai/invariant-gateway.git
synced 2026-05-17 21:14:41 +02:00
test api key
This commit is contained in:
@@ -54,9 +54,10 @@ class WeatherAgent:
|
||||
tools=[self.get_weather_function],
|
||||
model="claude-3-5-sonnet-20241022",
|
||||
max_tokens=1024,
|
||||
messages=messages,
|
||||
messages=messages
|
||||
)
|
||||
|
||||
|
||||
# If there's tool call, Extract the tool call parameters from the response
|
||||
if len(response.content) > 1 and response.content[1].type == "tool_use":
|
||||
tool_call_params = response.content[1].input
|
||||
|
||||
Reference in New Issue
Block a user