Files
openclaw/extensions/fireworks/thinking-policy.ts
2026-06-04 21:02:07 -04:00

19 lines
563 B
TypeScript

// Fireworks plugin module implements thinking policy behavior.
import type { ProviderThinkingProfile } from "openclaw/plugin-sdk/plugin-entry";
import { isFireworksKimiModelId } from "./model-id.js";
const FIREWORKS_KIMI_THINKING_PROFILE = {
levels: [{ id: "off" }],
defaultLevel: "off",
} as const satisfies ProviderThinkingProfile;
export function resolveFireworksThinkingProfile(
modelId: string,
): ProviderThinkingProfile | undefined {
if (!isFireworksKimiModelId(modelId)) {
return undefined;
}
return FIREWORKS_KIMI_THINKING_PROFILE;
}