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.

🐛 fix: include all properties in task_topic_handoff response_format required (#14297)

Arvin Xuf42fc7d65d00
diff --git a/packages/prompts/src/chains/taskTopicHandoff.ts b/packages/prompts/src/chains/taskTopicHandoff.ts
index 564cd77e6da..14309093824 100644
--- a/packages/prompts/src/chains/taskTopicHandoff.ts
+++ b/packages/prompts/src/chains/taskTopicHandoff.ts
@@ -52,6 +52,6 @@ export const TASK_TOPIC_HANDOFF_SCHEMA = {
summary: { type: 'string' },
title: { type: 'string' },
},
- required: ['title', 'summary'],
+ required: ['title', 'summary', 'keyFindings', 'nextAction'],
type: 'object' as const,
};