tu101 commited on
Commit
6f8eb35
·
verified ·
1 Parent(s): d54cbe4
Files changed (1) hide show
  1. real_agent.py +1 -0
real_agent.py CHANGED
@@ -13,6 +13,7 @@ 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:
 
13
  from langfuse.langchain import CallbackHandler
14
  from smolagents import VisitWebpageTool, GoogleSearchTool, PythonInterpreterTool
15
  import json
16
+ from langchain.schema import Document
17
 
18
  # load the system prompt from the file
19
  with open("system_prompt.txt", "r", encoding="utf-8") as f: