modelmix 2.5.4 → 2.5.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
@@ -233,7 +233,7 @@ class MessageHandler {
233
233
  replaceKeyFromFile(key, filePath) {
234
234
  try {
235
235
  const content = fs.readFileSync(filePath, { encoding: 'utf8' });
236
- this.replace({ [key]: content });
236
+ this.replace({ [key]: this.template(content, this.config.replace) });
237
237
  } catch (error) {
238
238
  console.error(`Error reading file ${filePath}:`, error);
239
239
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "modelmix",
3
- "version": "2.5.4",
3
+ "version": "2.5.6",
4
4
  "description": "🧬 ModelMix - Unified API for Diverse AI LLM.",
5
5
  "main": "index.js",
6
6
  "repository": {