claw-subagent-service 0.0.151 → 0.0.152
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -168,9 +168,9 @@ async function forwardChatMessage(sessionId, content, onDelta, logFn, timeoutMs
|
|
|
168
168
|
|
|
169
169
|
// 构建请求体,包含 system 和 model 参数
|
|
170
170
|
// model 字段格式: { providerID: "provider-name", modelID: "model-id" }
|
|
171
|
+
// 如果 OpenCode 配置为空,尝试不使用 model 字段
|
|
171
172
|
const requestBody = {
|
|
172
173
|
system: SYSTEM_PROMPT,
|
|
173
|
-
model: { providerID: 'kimi-coding', modelID: 'kimi-k2.6' },
|
|
174
174
|
parts: [{ type: 'text', text: content }]
|
|
175
175
|
};
|
|
176
176
|
|