Spaces:
Sleeping
Sleeping
Upload agent.py
Browse files
agent.py
CHANGED
|
@@ -43,7 +43,7 @@ rate_limiter = InMemoryRateLimiter(
|
|
| 43 |
|
| 44 |
# 👇 Direct Instantiation to fix Auth Error
|
| 45 |
llm = ChatGoogleGenerativeAI(
|
| 46 |
-
model="gemini-2.
|
| 47 |
google_api_key=GOOGLE_API_KEY, # Explicitly passing key param
|
| 48 |
rate_limiter=rate_limiter,
|
| 49 |
temperature=0
|
|
|
|
| 43 |
|
| 44 |
# 👇 Direct Instantiation to fix Auth Error
|
| 45 |
llm = ChatGoogleGenerativeAI(
|
| 46 |
+
model="gemini-2.0-flash", # Stable model version
|
| 47 |
google_api_key=GOOGLE_API_KEY, # Explicitly passing key param
|
| 48 |
rate_limiter=rate_limiter,
|
| 49 |
temperature=0
|