镜像自地址
https://github.com/binary-husky/gpt_academic.git
已同步 2025-12-08 15:36:48 +00:00
三维场景生成
这个提交包含在:
@@ -40,6 +40,7 @@ def request_gpt_model_in_new_thread_with_ui_alive(
|
||||
chatbot, history, sys_prompt, refresh_interval=0.2,
|
||||
handle_token_exceed=True,
|
||||
retry_times_at_unknown_error=2,
|
||||
on_reply_update=None
|
||||
):
|
||||
"""
|
||||
Request GPT model,请求GPT模型同时维持用户界面活跃。
|
||||
@@ -123,6 +124,7 @@ def request_gpt_model_in_new_thread_with_ui_alive(
|
||||
if future.done():
|
||||
break
|
||||
chatbot[-1] = [chatbot[-1][0], mutable[0]]
|
||||
if on_reply_update: on_reply_update(mutable[0])
|
||||
yield from update_ui(chatbot=chatbot, history=[]) # 刷新界面
|
||||
|
||||
final_result = future.result()
|
||||
|
||||
在新工单中引用
屏蔽一个用户