添加doubao-seed-1-6-thinking-250715,设置上下文长度是4096,可以添加,设置为128000,就添加不了
🚨 错误信息
添加doubao-seed-1-6-thinking-250715,设置上下文长度是4096,可以添加,设置为128000,就添加不了
🤖 AI解决方案
text
Error: The context length 128000 is too large for the model doubao-seed-1-6-thinking-250715. Please choose a smaller context length within the model's supported range.
中文翻译:
text
错误:模型 doubao-seed-1-6-thinking-250715 的上下文长度 128000 过大。请选择模型支持范围内的较小上下文长度。
原因分析:
模型 doubao-seed-1-6-thinking-250715 不支持 128000 的上下文长度,但支持 4096。
解决方案:
将上下文长度设置为 4096 或模型支持的其他较小值。
python
示例代码(假设您正在使用某个API)
根据实际使用的库和方法进行调整
api_client.set_context_length(4096)
预防措施: