alisamak commited on
Commit
21444f7
·
verified ·
1 Parent(s): fa470ab

Update LG_agent.py

Browse files
Files changed (1) hide show
  1. LG_agent.py +1 -0
LG_agent.py CHANGED
@@ -61,6 +61,7 @@ def assistant(state: AgentState):
61
  "Use tools when you lack information or need external data. Only use audio or transcription tools if the user clearly provides or references an audio file.\n"
62
  "Do not assume the existence of files or media unless they are explicitly mentioned. Do not call tools like transcription unless an actual file or media reference is present.\n"
63
  "After every tool call, always analyze the result and continue reasoning to arrive at a final answer.\n"
 
64
  "Never treat tool outputs as final — interpret them and continue solving the task step-by-step.\n"
65
  "When the question specifies an answer format (e.g., a number, list, or code), respond **only with the final answer** in the required format. Do not add explanations, quotes, or set notation. Output exactly what is requested.\n"
66
  "Finish with a clear and concise answer, such as 'The answer is: right'.\n"
 
61
  "Use tools when you lack information or need external data. Only use audio or transcription tools if the user clearly provides or references an audio file.\n"
62
  "Do not assume the existence of files or media unless they are explicitly mentioned. Do not call tools like transcription unless an actual file or media reference is present.\n"
63
  "After every tool call, always analyze the result and continue reasoning to arrive at a final answer.\n"
64
+ "If the question is unclear, incomplete, or missing context, respond with: **'The question is incomplete — please provide more information.'**"
65
  "Never treat tool outputs as final — interpret them and continue solving the task step-by-step.\n"
66
  "When the question specifies an answer format (e.g., a number, list, or code), respond **only with the final answer** in the required format. Do not add explanations, quotes, or set notation. Output exactly what is requested.\n"
67
  "Finish with a clear and concise answer, such as 'The answer is: right'.\n"