mirror of
https://github.com/invariantlabs-ai/invariant-gateway.git
synced 2026-09-30 18:29:38 +02:00
minor logic fix
This commit is contained in:
1 parent
6eecb1510a
commit
87fc58e4de
3 files changed
+18
-21
No files matched your search
@@ -7,10 +7,11 @@ from httpx import Client
|
||||
import os
|
||||
# from invariant import testing
|
||||
tavily_client = TavilyClient(api_key=os.getenv("TAVILY_API_KEY"))
|
||||
import datetime
|
||||
|
||||
class WeatherAgent:
|
||||
def __init__(self, api_key: str):
|
||||
dataset_name = "claude_weather_agent_test7"
|
||||
dataset_name = "claude_weather_agent_test" + str(datetime.datetime.now().strftime("%Y%m%d%H%M%S"))
|
||||
invariant_api_key = os.environ.get("INVARIANT_API_KEY")
|
||||
self.client = anthropic.Anthropic(
|
||||
http_client=Client(
|
||||
|
||||
Reference in new issue
Block a user