mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-29 10:50:58 +00:00
fix(regression): remove duplicate media runtime config
This commit is contained in:
@@ -50,11 +50,6 @@ export async function runMediaUnderstandingFile(
|
||||
if (attachments.length === 0) {
|
||||
return { text: undefined };
|
||||
}
|
||||
const config = params.cfg.tools?.media?.[params.capability];
|
||||
if (config?.enabled === false) {
|
||||
return { text: undefined };
|
||||
}
|
||||
|
||||
const config = params.cfg.tools?.media?.[params.capability];
|
||||
if (config?.enabled === false) {
|
||||
// Avoid loading plugin-backed providers when the capability is disabled.
|
||||
|
||||
Reference in New Issue
Block a user