modelmix 3.1.0 → 3.1.2

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.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -245,9 +245,9 @@ class MessageHandler {
245
245
  return JSON.parse(response);
246
246
  }
247
247
 
248
- async block({ addText = true } = {}) {
249
- if (addText) {
250
- this.config.systemExtra = "\nOutput results between triple backtick block code tags: \n```\n";
248
+ async block({ addSystemExtra = true } = {}) {
249
+ if (addSystemExtra) {
250
+ this.config.systemExtra = "\nReturn the result of the task between triple backtick block code tags: ```";
251
251
  }
252
252
  const response = await this.message();
253
253
  this.config.systemExtra = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "modelmix",
3
- "version": "3.1.0",
3
+ "version": "3.1.2",
4
4
  "description": "🧬 ModelMix - Unified API for Diverse AI LLM.",
5
5
  "main": "index.js",
6
6
  "repository": {