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

2408:8226* Posted at: 2 hours ago 👁7

Could not parse response content as the length limit was reached - CompletionUsage(completion_tokens=8192, prompt_tokens=2049, total_tokens=10241, completion_tokens_details=None, prompt_tokens_details=PromptTokensDetails(audio_tokens=None, cached_tokens=832), prompt_cache_hit_tokens=832, prompt_cache_miss_tokens=1217)


=
system:Windows-10-10.0.19045-SP0
version:v3.92
frozen:True
language:zh
root_dir:D:/

1 Replies

这是由于在使用AI翻译渠道时,发送的上下文过长,超过了AI模型的最大Token限制导致的。

解决方案:

  1. 升级软件:您当前使用的是 v3.92 版本。请先升级到最新版 v3.97,该版本可能已优化此问题。
  2. 调整高级设置:如果升级后问题依旧,请按以下步骤调整设置:

    • 打开软件,进入 菜单 -> 工具 -> 高级选项
    • 字幕翻译调整 区域,取消勾选 发送完整字幕AI翻译附带完整原字幕 这两个选项。
    • AI翻译渠道每批字幕行数 设置为一个较小的值,例如 2010
    • 保存设置并重试翻译任务。

原因说明:
此错误提示(Could not parse response content as the length limit was reached)表明AI服务端(如OpenAI、DeepSeek等)返回了内容,但因上下文过长(总Token数达10241)而无法被软件正常解析。这通常发生在启用了“发送完整字幕”功能,且字幕文件较大时。

请查阅相关文档:

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.

Related resource

Similar issues already exist