modelmix 3.6.4 → 3.6.6

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 +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -321,7 +321,7 @@ class ModelMix {
321
321
  config.schema = generateJsonSchema(schemaExample, schemaDescription);
322
322
 
323
323
  if (addSchema) {
324
- config.system += "\nOutput JSON Schema: \n```\n" + JSON.stringify(this.config.schema) + "\n```";
324
+ config.system += "\nOutput JSON Schema: \n```\n" + JSON.stringify(config.schema) + "\n```";
325
325
  }
326
326
  if (addExample) {
327
327
  config.system += "\nOutput JSON Example: \n```\n" + JSON.stringify(schemaExample) + "\n```";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "modelmix",
3
- "version": "3.6.4",
3
+ "version": "3.6.6",
4
4
  "description": "🧬 ModelMix - Unified API for Diverse AI LLM.",
5
5
  "main": "index.js",
6
6
  "repository": {