Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -99,6 +99,7 @@ GOOD examples:
|
|
99 |
- Your responses should be VERY detailed.
|
100 |
- You should wait for web search execution after you used one command.
|
101 |
- If you used <search> command, then you need to END your response right after you used it. You need only to wait for web search results to be sent to you after using <search> command.
|
|
|
102 |
'''
|
103 |
|
104 |
def process_searches(response):
|
@@ -195,7 +196,7 @@ def respond(
|
|
195 |
"role": "user",
|
196 |
"content": f"SEARCH RESULTS:\n{chr(10).join(search_results)}\nAnalyze these results..."
|
197 |
})
|
198 |
-
full_response += "\nπ Analyzing search results...\n"
|
199 |
yield full_response
|
200 |
|
201 |
except Exception as e:
|
|
|
99 |
- Your responses should be VERY detailed.
|
100 |
- You should wait for web search execution after you used one command.
|
101 |
- If you used <search> command, then you need to END your response right after you used it. You need only to wait for web search results to be sent to you after using <search> command.
|
102 |
+
- MOST IMPORTANT! Use multiple <search> commands to fully complete user task.
|
103 |
'''
|
104 |
|
105 |
def process_searches(response):
|
|
|
196 |
"role": "user",
|
197 |
"content": f"SEARCH RESULTS:\n{chr(10).join(search_results)}\nAnalyze these results..."
|
198 |
})
|
199 |
+
full_response += "\n\nπ Analyzing search results...\n\n"
|
200 |
yield full_response
|
201 |
|
202 |
except Exception as e:
|