更正bug

This commit is contained in:
qingxu fu
2023-04-11 17:40:50 +08:00
parent a7083873c0
commit d587189ceb
2 changed files with 19 additions and 3 deletions

View File

@ -76,7 +76,7 @@ def request_gpt_model_in_new_thread_with_ui_alive(
try:
# 【第一种情况】:顺利完成
result = predict_no_ui_long_connection(
inputs=inputs, llm_kwargs=llm_kwargs,
inputs=inputs, llm_kwargs=llm_kwargs,
history=history, sys_prompt=sys_prompt, observe_window=mutable)
return result
except ConnectionAbortedError as token_exceeded_error: