2MoOn24mOoN4 commited on
Commit
ade294c
·
verified ·
1 Parent(s): b31a011

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def process_tool_output(tool_output):
16
  return '\n'.join([item.get('title', '') for item in tool_output if item.get('title')]) or 'No results found'
17
  return str(tool_output)
18
 
19
- sys_prompt = 'You are a friendly, humorous, all-knowing and all-powerful question-answering assistant. Please answer questions in the shortest possible words to ensure that the search tool does not exhaust the generator and avoid the StopIteration error.'
20
  class BasicAgent:
21
  def __init__(self):
22
  print("BasicAgent initialized.")
 
16
  return '\n'.join([item.get('title', '') for item in tool_output if item.get('title')]) or 'No results found'
17
  return str(tool_output)
18
 
19
+ sys_prompt ='Please answer questions in the shortest possible words to ensure that the search tool does not exhaust the generator and avoid the StopIteration error.'
20
  class BasicAgent:
21
  def __init__(self):
22
  print("BasicAgent initialized.")