Improve behavior of simple reasoning (#157)
* Add base reasoning implementation * Provide explicit async and streaming capability * Allow refreshing the information panel
This commit is contained in:
committed by
GitHub
parent
cb01d27d19
commit
2950e6ed02
@@ -209,7 +209,10 @@ class ChatPage(BasePage):
|
||||
if "output" in response:
|
||||
text += response["output"]
|
||||
if "evidence" in response:
|
||||
refs += response["evidence"]
|
||||
if response["evidence"] is None:
|
||||
refs = ""
|
||||
else:
|
||||
refs += response["evidence"]
|
||||
|
||||
if len(refs) > len_ref:
|
||||
print(f"Len refs: {len(refs)}")
|
||||
|
Reference in New Issue
Block a user