Spaces:
Runtime error
Runtime error
- real_agent.py +2 -1
real_agent.py
CHANGED
|
@@ -41,7 +41,8 @@ def call_build():
|
|
| 41 |
# Generate the chat interface, including the tools
|
| 42 |
|
| 43 |
chat = ChatOpenAI(model="gpt-4o")
|
| 44 |
-
tools = [guest_info_tool, hub_stats_tool, excel_search_tool, audio_search_tool, extract_image_text, add, divide, multiply, subtract,
|
|
|
|
| 45 |
chat_with_tools = chat.bind_tools(tools)
|
| 46 |
|
| 47 |
# Generate the AgentState and Agent graph
|
|
|
|
| 41 |
# Generate the chat interface, including the tools
|
| 42 |
|
| 43 |
chat = ChatOpenAI(model="gpt-4o")
|
| 44 |
+
tools = [guest_info_tool, hub_stats_tool, excel_search_tool, audio_search_tool, extract_image_text, add, divide, multiply, subtract,
|
| 45 |
+
calculate_cargo_travel_time, web_search_tool, wiki_search_tool, arvix_search_tool]
|
| 46 |
chat_with_tools = chat.bind_tools(tools)
|
| 47 |
|
| 48 |
# Generate the AgentState and Agent graph
|