Spaces:
Runtime error
Runtime error
:zap: [Enhance] Suppress analyzing results info
Browse files
networks/message_parser.py
CHANGED
@@ -60,10 +60,10 @@ class MessageParser:
|
|
60 |
elif message_type in ["InternalSearchResult"]:
|
61 |
analysis_str = f"[Analyzing search results ...]"
|
62 |
logger.note(analysis_str)
|
63 |
-
if return_output:
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
# Message: Loader status, such as "Generating Answers"
|
68 |
elif message_type in ["InternalLoaderMessage"]:
|
69 |
# logger.note("[Generating answers ...]\n")
|
|
|
60 |
elif message_type in ["InternalSearchResult"]:
|
61 |
analysis_str = f"[Analyzing search results ...]"
|
62 |
logger.note(analysis_str)
|
63 |
+
# if return_output:
|
64 |
+
# return self.outputer.output(
|
65 |
+
# analysis_str, content_type="InternalSearchResult"
|
66 |
+
# )
|
67 |
# Message: Loader status, such as "Generating Answers"
|
68 |
elif message_type in ["InternalLoaderMessage"]:
|
69 |
# logger.note("[Generating answers ...]\n")
|