-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Description
Installation Method | 安装方法与平台
Pip Install (I used latest requirements.txt)
Version | 版本
Latest | 最新版
OS | 操作系统
Linux
Describe the bug | 简述
正常上传一篇比较长的文档时,会出现报错
Traceback (most recent call last):
File "./toolbox.py", line 235, in decorated
yield from f(main_input, llm_kwargs, plugin_kwargs, chatbot_with_cookie, history, *args, **kwargs)
File "./crazy_functions/Markdown_Translate.py", line 264, in Markdown翻译指定语言
yield from 多文件翻译(file_manifest, project_folder, llm_kwargs, plugin_kwargs, chatbot, history, system_prompt, language=language)
File "./crazy_functions/Markdown_Translate.py", line 68, in 多文件翻译
pfg.run_file_split(max_token_limit=1024)
File "./crazy_functions/Markdown_Translate.py", line 33, in run_file_split
segments = breakdown_text_to_satisfy_token_limit(file_content, max_token_limit)
File "./crazy_functions/ipc_fns/mp.py", line 26, in wrapper
raise TimeoutError(f'功能单元{str(func)}未能在规定时间内完成任务')
TimeoutError: 功能单元<function breakdown_text_to_satisfy_token_limit_ at 0x7f10fc1c69e0>未能在规定时间内完成任务
Screen Shot | 有帮助的截图

Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)
No response