Spaces:
Sleeping
Sleeping
Upload agent.py
Browse files
agent.py
CHANGED
|
@@ -34,7 +34,8 @@ rate_limiter = InMemoryRateLimiter(
|
|
| 34 |
llm = init_chat_model(
|
| 35 |
model_provider="google_genai",
|
| 36 |
model="gemini-2.5-flash",
|
| 37 |
-
rate_limiter=rate_limiter
|
|
|
|
| 38 |
).bind_tools(TOOLS)
|
| 39 |
|
| 40 |
|
|
|
|
| 34 |
llm = init_chat_model(
|
| 35 |
model_provider="google_genai",
|
| 36 |
model="gemini-2.5-flash",
|
| 37 |
+
rate_limiter=rate_limiter,
|
| 38 |
+
api_key=os.getenv("GOOGLE_API_KEY")
|
| 39 |
).bind_tools(TOOLS)
|
| 40 |
|
| 41 |
|