Spaces:
Runtime error
Runtime error
- real_agent.py +1 -0
real_agent.py
CHANGED
|
@@ -12,6 +12,7 @@ from retriever import guest_info_tool
|
|
| 12 |
import gradio as gr
|
| 13 |
from langfuse.langchain import CallbackHandler
|
| 14 |
from smolagents import VisitWebpageTool, GoogleSearchTool, PythonInterpreterTool
|
|
|
|
| 15 |
|
| 16 |
# load the system prompt from the file
|
| 17 |
with open("system_prompt.txt", "r", encoding="utf-8") as f:
|
|
|
|
| 12 |
import gradio as gr
|
| 13 |
from langfuse.langchain import CallbackHandler
|
| 14 |
from smolagents import VisitWebpageTool, GoogleSearchTool, PythonInterpreterTool
|
| 15 |
+
import json
|
| 16 |
|
| 17 |
# load the system prompt from the file
|
| 18 |
with open("system_prompt.txt", "r", encoding="utf-8") as f:
|