This commit is contained in:
ZacharyZhang-NY committed 2026-04-05 20:14:48 -04:00
1 parent 09971cabc2
commit 9145572422
163 files changed
+3348 -2874

No files matched your search

+3 -1
View File
@@ -62,7 +62,9 @@ export function registerCoreAgentGraphHandlers({
}
const existingAgent = (() => {
try {
return db.getAgent(parsed.id!);
const agentId = parsed.id;
if (!agentId) return null;
return db.getAgent(agentId);
} catch {
return null;
}