Commit
·
e1fe571
1
Parent(s):
407a734
GEMINI_API_KEY bug fixed. .venv ingnored.
Browse files- .gitignore +1 -0
- app.py +1 -1
.gitignore
CHANGED
|
@@ -1 +1,2 @@
|
|
| 1 |
.env
|
|
|
|
|
|
| 1 |
.env
|
| 2 |
+
.venv
|
app.py
CHANGED
|
@@ -25,7 +25,7 @@ class BasicAgent:
|
|
| 25 |
model_id="gemini-2.5-flash-preview-05-20",
|
| 26 |
# Google Gemini OpenAI-compatible API base URL
|
| 27 |
api_base="https://generativelanguage.googleapis.com/v1beta/openai/",
|
| 28 |
-
api_key=GEMINI_API_KEY,
|
| 29 |
)
|
| 30 |
|
| 31 |
self.agent = CodeAgent (
|
|
|
|
| 25 |
model_id="gemini-2.5-flash-preview-05-20",
|
| 26 |
# Google Gemini OpenAI-compatible API base URL
|
| 27 |
api_base="https://generativelanguage.googleapis.com/v1beta/openai/",
|
| 28 |
+
api_key=os.environ["GEMINI_API_KEY"],
|
| 29 |
)
|
| 30 |
|
| 31 |
self.agent = CodeAgent (
|