mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-25 06:19:31 +00:00
13 lines
651 B
TypeScript
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);
|
|
}
|