SetModelBinding
setModel 的注入档参数(client 与 model 必须成对更换)
client
Section titled “client”client: ModelClient;contextWindowTokens?
Section titled “contextWindowTokens?”optional contextWindowTokens?: number;新模型的上下文窗口;不传则清空(宁缺毋错,与 TUI 驱动同语义)
maxOutputTokens?
Section titled “maxOutputTokens?”optional maxOutputTokens?: number;新模型的输出上限(maxTokens 事前钳制上界);不传则清空(同窗口的宁缺毋错纪律)
model: ResolvedModel;本文是否有帮助?
感谢反馈,我们会持续改进这篇文章。