Update agent.py
Browse files
agent.py
CHANGED
|
@@ -20,7 +20,7 @@ class BasicAgent():
|
|
| 20 |
|
| 21 |
search_tool = DuckDuckGoSearchRun()
|
| 22 |
vision_llm = ChatOpenAI(model="gpt-4o")
|
| 23 |
-
self.tools = [
|
| 24 |
self.chat_with_tools = chat.bind_tools(self.tools)
|
| 25 |
self._initialize_graph()
|
| 26 |
print("BasicAgent initialized.")
|
|
|
|
| 20 |
|
| 21 |
search_tool = DuckDuckGoSearchRun()
|
| 22 |
vision_llm = ChatOpenAI(model="gpt-4o")
|
| 23 |
+
self.tools = [describe_image, search_tool]
|
| 24 |
self.chat_with_tools = chat.bind_tools(self.tools)
|
| 25 |
self._initialize_graph()
|
| 26 |
print("BasicAgent initialized.")
|