mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-25 14:29:32 +00:00
19 lines
563 B
TypeScript
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;
|
|
}
|