eaglelandsonce commited on
Commit
d0cb07d
1 Parent(s): e9c63fc

Update crewai/tools/gemini_tools.py

Browse files
Files changed (1) hide show
  1. crewai/tools/gemini_tools.py +1 -1
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('GOOGLE_AI_STUDIO2')
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: