AlexTrinityBlock commited on
Commit
ed2f57e
·
1 Parent(s): 9236a37

refactor(agent): enable immediate response instruction in supervisor prompt

Browse files
Files changed (2) hide show
  1. agent/agent.py +2 -2
  2. requirements.txt +1 -2
agent/agent.py CHANGED
@@ -41,8 +41,8 @@ def supervisor_agent():
41
  f"to get a concise and accurate final answer. "
42
  f"If an image or photo file is attached, download and use the ocr_reader tool "
43
  f"to extract and describe the content before answering. "
44
- # f"Once you have found the answer, respond immediately. "
45
- # f"Do NOT continue searching or verifying unnecessarily — "
46
  f"you have a limited number of action steps and must avoid exceeding them. "
47
  f"If you do not have enough information to answer the question "
48
  f"and no tool can help, respond with: "
 
41
  f"to get a concise and accurate final answer. "
42
  f"If an image or photo file is attached, download and use the ocr_reader tool "
43
  f"to extract and describe the content before answering. "
44
+ f"Once you have found the answer, respond immediately. "
45
+ f"Do NOT continue searching or verifying unnecessarily — "
46
  f"you have a limited number of action steps and must avoid exceeding them. "
47
  f"If you do not have enough information to answer the question "
48
  f"and no tool can help, respond with: "
requirements.txt CHANGED
@@ -1,5 +1,4 @@
1
- gradio==6.11.0
2
- gradio[oauth]==6.11.0
3
  requests==2.33.1
4
  python-dotenv==1.2.2
5
  langchain
 
1
+ gradio[oauth]>=5.25.2
 
2
  requests==2.33.1
3
  python-dotenv==1.2.2
4
  langchain