@corbat-tech/coco 2.25.2 → 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/cli/index.js CHANGED
@@ -5948,10 +5948,9 @@ var init_gemini = __esm({
5948
5948
  });
5949
5949
  }
5950
5950
  }
5951
+ history.push({ role: "function", parts: functionResponses });
5951
5952
  if (isLastMessage) {
5952
- lastUserMessage = functionResponses;
5953
- } else {
5954
- history.push({ role: "user", parts: functionResponses });
5953
+ lastUserMessage = "";
5955
5954
  }
5956
5955
  } else {
5957
5956
  const parts = this.convertContent(msg.content);