UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

16 lines (15 loc) 540 B
import { t as resolveCopilotExtendedThinkingLevels } from "../../model-metadata-C6_pjeW7.js"; //#region extensions/github-copilot/provider-policy-api.ts function resolveThinkingProfile(context) { if (context.provider.trim().toLowerCase() !== "github-copilot") return null; return { levels: [ { id: "off" }, { id: "minimal" }, { id: "low" }, { id: "medium" }, { id: "high" }, ...resolveCopilotExtendedThinkingLevels(context.modelId, context.compat).map((id) => ({ id })) ] }; } //#endregion export { resolveThinkingProfile };