Spaces:
Runtime error
Runtime error
Commit
·
d0cb07d
1
Parent(s):
e9c63fc
Update crewai/tools/gemini_tools.py
Browse files
crewai/tools/gemini_tools.py
CHANGED
@@ -7,7 +7,7 @@ import google.generativeai as genai
|
|
7 |
from google.api_core import exceptions
|
8 |
|
9 |
# Retrieve API Key from Environment Variable
|
10 |
-
GOOGLE_AI_STUDIO = os.environ.get('
|
11 |
|
12 |
# Ensure the API key is available
|
13 |
if not GOOGLE_AI_STUDIO:
|
|
|
7 |
from google.api_core import exceptions
|
8 |
|
9 |
# Retrieve API Key from Environment Variable
|
10 |
+
GOOGLE_AI_STUDIO = os.environ.get('GOOGLE_API_KEY')
|
11 |
|
12 |
# Ensure the API key is available
|
13 |
if not GOOGLE_AI_STUDIO:
|