mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-04 22:01:15 +00:00
style: format sandbox and helper files
This commit is contained in:
@@ -324,9 +324,7 @@ export function resolveMemorySlotDecision(params: {
|
||||
// memory slot must stay enabled so its other slot role can still load.
|
||||
const isMultiKind = Array.isArray(params.kind) && params.kind.length > 1;
|
||||
if (params.slot === null) {
|
||||
return isMultiKind
|
||||
? { enabled: true }
|
||||
: { enabled: false, reason: "memory slot disabled" };
|
||||
return isMultiKind ? { enabled: true } : { enabled: false, reason: "memory slot disabled" };
|
||||
}
|
||||
if (typeof params.slot === "string") {
|
||||
if (params.slot === params.id) {
|
||||
|
||||
Reference in New Issue
Block a user