MAC codex桌面版无法自动压缩deepseek上下文

白白 2026-06-13 10:53 1

用的newapi接的Nvidia 的deepseek v4pro,关闭了远程压缩,用的ccswitch 。无法自动压缩压缩上下文

但是一旦上下文快满了就会报错



stream disconnected before completion: Requested token count exceeds the model’s maximum context length of 262144 tokens. You requested a total of 262167 tokens: 196631 tokens from the input messages and 65536 tokens for the completion. Please reduce the number of tokens in the input messages or the completion to fit within the limit.



但是可以手动压缩这是什么原因呢

最新回复 (2)
  • Hodge 06-13 11:04
    1

    你这个配置写的什么?:



    model_provider = “custom”


  • 白白 楼主 06-13 11:23
    2

    应该是的,反正不是openai。

* 帖子来源Linux.do
返回