Files
openclaw/extensions/google/provider-policy-api.ts
2026-06-04 21:33:54 -04:00

13 lines
651 B
TypeScript

// Google API module exposes the plugin public contract.
import type { ProviderDefaultThinkingPolicyContext } from "openclaw/plugin-sdk/core";
import type { ModelProviderConfig } from "openclaw/plugin-sdk/provider-model-types";
import { normalizeGoogleProviderConfig, resolveGoogleThinkingProfile } from "./provider-policy.js";
export function normalizeConfig(params: { provider: string; providerConfig: ModelProviderConfig }) {
return normalizeGoogleProviderConfig(params.provider, params.providerConfig);
}
export function resolveThinkingProfile(context: ProviderDefaultThinkingPolicyContext) {
return resolveGoogleThinkingProfile(context);
}