style: apply oxfmt cleanup

This commit is contained in:
Peter Steinberger
2026-04-10 23:09:29 +01:00
parent 6281dd7379
commit a73dc477d7
10 changed files with 35 additions and 46 deletions

View File

@@ -159,7 +159,7 @@ function createStartupConfig(params: {
},
},
}
: {}),
: {}),
...(params.providerIds?.length
? {
models: {

View File

@@ -49,9 +49,7 @@ function resolveGatewayStartupDreamingPluginIds(config: OpenClawConfig): Set<str
return new Set(["memory-core", resolveMemoryDreamingPluginId(config)]);
}
function resolveExplicitMemorySlotStartupPluginId(
config: OpenClawConfig,
): string | undefined {
function resolveExplicitMemorySlotStartupPluginId(config: OpenClawConfig): string | undefined {
const configuredSlot = config.plugins?.slots?.memory?.trim();
if (!configuredSlot || configuredSlot.toLowerCase() === "none") {
return undefined;