mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-21 04:24:45 +00:00
feat: add fal and OpenRouter music generation (#82789)
* feat: add fal and OpenRouter music generation * fix: repair music generation CI gates * chore: refresh proof gate
This commit is contained in:
committed by
GitHub
parent
562d460d75
commit
f453904165
@@ -305,6 +305,7 @@ function sanitizeLiveConfig(raw: string): string {
|
||||
defaults?: Record<string, unknown>;
|
||||
list?: Array<Record<string, unknown>>;
|
||||
};
|
||||
diagnostics?: Record<string, unknown>;
|
||||
} = JSON5.parse(raw);
|
||||
|
||||
if (!parsed || typeof parsed !== "object") {
|
||||
@@ -328,6 +329,10 @@ function sanitizeLiveConfig(raw: string): string {
|
||||
});
|
||||
}
|
||||
|
||||
if (parsed.diagnostics && typeof parsed.diagnostics === "object") {
|
||||
delete parsed.diagnostics.memoryPressureSnapshot;
|
||||
}
|
||||
|
||||
if (!isTruthyEnvValue(process.env.OPENCLAW_LIVE_TEST_NORMALIZE_CONFIG)) {
|
||||
return `${JSON.stringify(parsed, null, 2)}\n`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user