chore: rename plugin ID to 1h-tools

This commit is contained in:
openclaw committed 2026-10-19 03:27:43 +00:00
1 parent 2011077fcd
commit 69877803ca
11 files changed
+29 -21

No files matched your search

+3 -1
View File
@@ -18,7 +18,9 @@ export function resolvePluginApiKey(rawKey) {
return undefined;
}
export function resolveVideoConfig(cfg, apiPluginConfig) {
const toolsConfig = (apiPluginConfig ?? cfg?.plugins?.entries?.["tools"]?.config);
const toolsConfig = (apiPluginConfig ??
cfg?.plugins?.entries?.["1h-tools"]?.config ??
cfg?.plugins?.entries?.["tools"]?.config);
const legacyConfig = cfg?.plugins?.entries?.["openai-video"]?.config;
const directVideoConfig = toolsConfig?.video;
const flatToolsConfig = toolsConfig?.baseUrl