fix: console output

This commit is contained in:
binary-husky
2024-09-21 14:41:36 +00:00
parent e296719b23
commit 09fd22091a
7 changed files with 120 additions and 45 deletions

View File

@@ -224,7 +224,7 @@ def get_predict_function(
try:
if finish_reason == "stop":
if not console_slience:
logger.info(f"[response] {result}")
print(f"[response] {result}")
break
result += response_text
if observe_window is not None: