refactor: migrate to async isConfiguredAsync and remove deprecated tool-plugin import

This commit is contained in:
openclaw committed 2026-11-13 02:46:41 +00:00
1 parent 8cd50b1c4d
commit 59b7316944
13 files changed
+37 -61

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ export interface GeminiImagePluginConfig {
export declare function resolvePluginApiKey(rawKey: string | SecretRefObject | undefined): string | undefined;
export declare function resolveGeminiImageConfig(cfg: ImageGenerationRequest["cfg"] | undefined, apiPluginConfig?: Record<string, unknown>): GeminiImagePluginConfig | undefined;
export declare function resolveConfiguredGeminiImageBaseUrl(pluginCfg?: GeminiImagePluginConfig): string;
export declare function buildGeminiImageGenerationProvider({ isProviderApiKeyConfigured, getPluginConfig, }: {
isProviderApiKeyConfigured: OpenClawPluginApi["runtime"]["modelAuth"]["isProviderApiKeyConfigured"];
export declare function buildGeminiImageGenerationProvider({ isProviderApiKeyConfiguredAsync, getPluginConfig, }: {
isProviderApiKeyConfiguredAsync: OpenClawPluginApi["runtime"]["modelAuth"]["isProviderApiKeyConfiguredAsync"];
getPluginConfig?: () => Record<string, unknown> | undefined;
}): ImageGenerationProvider;