#1420 Could not parse response content as the length limit was reached - CompletionUsage(completion_tokens=4096, prompt_tokens

2408:8207* Posted at: 4 hours ago 👁6

Could not parse response content as the length limit was reached - CompletionUsage(completion_tokens=4096, prompt_tokens=2504, total_tokens=6600, completion_tokens_details=None, prompt_tokens_details=None)


=
system:Windows-10-10.0.26100-SP0
version:v3.84
frozen:True
language:zh
root_dir:G:/AI/win-videotrans-v3.84

1 Replies

这个错误提示表明在处理过程中,AI模型的回复内容长度超出了预设限制,导致无法完整解析。这通常发生在翻译或语音识别阶段,特别是当处理长视频或复杂内容时。

请尝试以下解决方案:

  1. 分割处理: 如果视频较长,可以尝试将其分割成几个较短的片段,然后分别处理。
  2. 调整翻译设置:

    • 在顶部菜单栏选择 工具/选项 -> 高级选项
    • 在“字幕翻译调整”区域,将 AI翻译每次发送字幕行数传统翻译每次发送字幕行数 的值调小(例如从默认的20改为10或5)。
    • 同时,适当增加 翻译后暂停时间/s 的值(例如从1改为3)。
  3. 更换翻译渠道: 如果当前使用的是本地部署的小模型,请尝试切换到更稳定、处理能力更强的在线AI渠道(如 Gemini、DeepSeek 或 OpenAI)。
  4. 检查网络代理: 如果使用的是需要代理的在线服务,请确保代理稳定且网络连接通畅。

如果问题依然存在,请提供 G:/AI/win-videotrans-v3.84/videotrans/logs/ 目录下的最新日志文件,以便进行更深入的分析。

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Similar issues already exist

Trending Questions