@yourgpt/copilot-sdk 2.1.8 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2296,8 +2296,7 @@ ${this.dynamicContext}`.trim() : this.config.systemPrompt;
2296
2296
  (tc) => !pendingIds.has(tc?.id ?? "")
2297
2297
  ))
2298
2298
  continue;
2299
- if (msg.role === "tool" && msg.tool_call_id && pendingIds.has(msg.tool_call_id))
2300
- continue;
2299
+ if (msg.role === "tool" && msg.tool_call_id) continue;
2301
2300
  messagesToInsert.push({
2302
2301
  id: generateMessageId(),
2303
2302
  role: msg.role,
@@ -5984,5 +5983,5 @@ exports.useMessageHistoryContext = useMessageHistoryContext;
5984
5983
  exports.useSkillContext = useSkillContext;
5985
5984
  exports.useTool = useTool;
5986
5985
  exports.useTools = useTools;
5987
- //# sourceMappingURL=chunk-IDAQU3FP.cjs.map
5988
- //# sourceMappingURL=chunk-IDAQU3FP.cjs.map
5986
+ //# sourceMappingURL=chunk-UBDBTEK5.cjs.map
5987
+ //# sourceMappingURL=chunk-UBDBTEK5.cjs.map