Update agent.py
Browse files
agent.py
CHANGED
@@ -32,6 +32,14 @@ from langchain_google_genai import ChatGoogleGenerativeAI
|
|
32 |
#interpreter_instance = CodeInterpreter()
|
33 |
#from image_processing import *
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
load_dotenv()
|
36 |
|
37 |
@tool
|
|
|
32 |
#interpreter_instance = CodeInterpreter()
|
33 |
#from image_processing import *
|
34 |
|
35 |
+
"""
|
36 |
+
import getpass
|
37 |
+
import os
|
38 |
+
|
39 |
+
if "GOOGLE_API_KEY" not in os.environ:
|
40 |
+
os.environ["GOOGLE_API_KEY"] = getpass.getpass("Enter your Google AI API key: ")
|
41 |
+
"""
|
42 |
+
|
43 |
load_dotenv()
|
44 |
|
45 |
@tool
|