mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 19:30:23 +00:00
fix: parse kimi tagged tool calls (#60051)
* fix: parse kimi tagged tool calls * fix: parse kimi tagged tool calls (#60051) * fix: parse kimi tagged tool calls (#60051)
This commit is contained in:
@@ -2,6 +2,7 @@ import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
||||
import { createProviderApiKeyAuthMethod } from "openclaw/plugin-sdk/provider-auth-api-key";
|
||||
import { applyKimiCodeConfig, KIMI_CODING_MODEL_REF } from "./onboard.js";
|
||||
import { buildKimiCodingProvider } from "./provider-catalog.js";
|
||||
import { createKimiToolCallMarkupWrapper } from "./stream.js";
|
||||
|
||||
const PLUGIN_ID = "kimi";
|
||||
const PROVIDER_ID = "kimi";
|
||||
@@ -85,6 +86,7 @@ export default definePluginEntry({
|
||||
openAiPayloadNormalizationMode: "moonshot-thinking",
|
||||
preserveAnthropicThinkingSignatures: false,
|
||||
},
|
||||
wrapStreamFn: (ctx) => createKimiToolCallMarkupWrapper(ctx.streamFn),
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user