mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 03:28:29 +00:00
feat: wire multi-agent config and routing
Co-authored-by: Mark Pors <1078320+pors@users.noreply.github.com>
This commit is contained in:
@@ -80,8 +80,8 @@ export async function sendMessageSignal(
|
||||
if (typeof accountInfo.config.mediaMaxMb === "number") {
|
||||
return accountInfo.config.mediaMaxMb * 1024 * 1024;
|
||||
}
|
||||
if (typeof cfg.agent?.mediaMaxMb === "number") {
|
||||
return cfg.agent.mediaMaxMb * 1024 * 1024;
|
||||
if (typeof cfg.agents?.defaults?.mediaMaxMb === "number") {
|
||||
return cfg.agents.defaults.mediaMaxMb * 1024 * 1024;
|
||||
}
|
||||
return 8 * 1024 * 1024;
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user