mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
11 lines
359 B
TypeScript
11 lines
359 B
TypeScript
// Github Copilot plugin module implements replay policy behavior.
|
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
|
|
export function buildGithubCopilotReplayPolicy(modelId?: string) {
|
|
return normalizeLowercaseStringOrEmpty(modelId).includes("claude")
|
|
? {
|
|
dropThinkingBlocks: true,
|
|
}
|
|
: {};
|
|
}
|