Cherry Studio中Celebras AI对话调用MCP工具出现limit is 65536错误如何解决?
环境:
- Cherry Studio v1.7.0 Windows
- Celebras AI的免费GPT oss 120b模型
对话命令如下:
读取C:\Users\admin\Downloads\test.png文件并使用TextIn-MCP OCR服务器工具去识别文字
- 已对自带@cherry/filesystem通过参数开启文件夹权限;
- TextIn-MCP OCR服务器正常运行;
经常调用工具会出现下面的报错:
Please reduce the length of the messages or completion. Current length is 292769 while limit is 65536 Please reduce the length of the messages or completion. Current length is 292769 while limit is 65536
请求错误,请检查请求参数是否正确。如果修改了模型设置,请重置到默认设置
---
错误名称: AI_APICallError
错误信息: Please reduce the length of the messages or completion. Current length is 292769 while limit is 65536 Please reduce the length of the messages or completion. Current length is 292769 while limit is 65536
堆栈信息: AI_APICallError: Please reduce the length of the messages or completion. Current length is 292769 while limit is 65536
有无有经验解决的办法?很简单的MCP调用为什么会超限?
- 如果用3个邮箱申请
Celebras AI的3个key,填写到设置 - 模型服务 - Celebras AI - API密钥里,会不会缓解这个问题发生?