@corbat-tech/coco 2.25.1 → 2.25.3

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.
package/dist/index.js CHANGED
@@ -15500,10 +15500,9 @@ var GeminiProvider = class {
15500
15500
  });
15501
15501
  }
15502
15502
  }
15503
+ history.push({ role: "function", parts: functionResponses });
15503
15504
  if (isLastMessage) {
15504
- lastUserMessage = functionResponses;
15505
- } else {
15506
- history.push({ role: "user", parts: functionResponses });
15505
+ lastUserMessage = "";
15507
15506
  }
15508
15507
  } else {
15509
15508
  const parts = this.convertContent(msg.content);