Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

📝 docs(bot): Auto sync agents & plugin to readme

lobehubbotceadd61ce3ae
diff --git a/src/store/chat/slices/operation/actions.ts b/src/store/chat/slices/operation/actions.ts
index 11137e1a3c8..30dcc2bd2ee 100644
--- a/src/store/chat/slices/operation/actions.ts
+++ b/src/store/chat/slices/operation/actions.ts
@@ -112,7 +112,7 @@ export const operationActions: StateCreator<
const parentOp = get().operations[parentOperationId];
if (parentOp) {
// Inherit parent's context, allow partial override
- context = { ...parentOp.context, ...(partialContext ?? {}) };
+ context = { ...parentOp.context, ...partialContext };
}
}