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
@@ -21,7 +21,7 @@ export declare function resolveImageSize(params: {
aspectRatio?: string;
model?: string;
}): string;
export declare function buildOpenAIImageGenerationProvider({ isProviderApiKeyConfigured, getPluginConfig, }: {
isProviderApiKeyConfigured: OpenClawPluginApi["runtime"]["modelAuth"]["isProviderApiKeyConfigured"];
export declare function buildOpenAIImageGenerationProvider({ isProviderApiKeyConfiguredAsync, getPluginConfig, }: {
isProviderApiKeyConfiguredAsync: OpenClawPluginApi["runtime"]["modelAuth"]["isProviderApiKeyConfiguredAsync"];
getPluginConfig?: () => Record<string, unknown> | undefined;
}): ImageGenerationProvider;