eaglelandsonce commited on
Commit
fb84bde
1 Parent(s): 1974039

Update crewai/tools/gemini_tools.py

Browse files
Files changed (1) hide show
  1. crewai/tools/gemini_tools.py +3 -0
crewai/tools/gemini_tools.py CHANGED
@@ -15,6 +15,9 @@ if not GOOGLE_AI_STUDIO:
15
  import requests
16
  from langchain.tools import tool
17
 
 
 
 
18
 
19
  class GeminiSearchTools():
20
  @tool("Gemini search the internet")
 
15
  import requests
16
  from langchain.tools import tool
17
 
18
+ # Rest of your code remains the same
19
+ genai.configure(api_key=GOOGLE_AI_STUDIO)
20
+ model = genai.GenerativeModel('gemini-pro')
21
 
22
  class GeminiSearchTools():
23
  @tool("Gemini search the internet")