chore: rename plugin ID to 1h-tools
This commit is contained in:
1 parent
2011077fcd
commit
69877803ca
11 files changed
+29
-21
No files matched your search
Vendored
+3
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user