modelmix 2.8.6 → 2.8.8

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/demo/demo.mjs +2 -2
  2. package/package.json +5 -8
package/demo/demo.mjs CHANGED
@@ -44,8 +44,8 @@ claude.addImageFromUrl('https://pbs.twimg.com/media/F6-GsjraAAADDGy?format=jpg')
44
44
  const imageDescription = await claude.addText('describe the image').message();
45
45
  console.log(imageDescription);
46
46
 
47
- console.log("\n" + '--------| claude-3-5-sonnet-20240620 |--------');
48
- const writer = mmix.create('claude-3-5-sonnet-20240620', { options: { temperature: 0.5 } });
47
+ console.log("\n" + '--------| claude-3-7-sonnet-20250219 |--------');
48
+ const writer = mmix.create('claude-3-7-sonnet-20250219', { options: { temperature: 0.5 } });
49
49
  writer.setSystem('You are a writer like Stephen King');
50
50
  writer.replaceKeyFromFile('{story_title}', './title.md');
51
51
  const story = await writer.addTextFromFile('./prompt.md').message();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "modelmix",
3
- "version": "2.8.6",
3
+ "version": "2.8.8",
4
4
  "description": "🧬 ModelMix - Unified API for Diverse AI LLM.",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -13,30 +13,27 @@
13
13
  "model",
14
14
  "openai",
15
15
  "anthropic",
16
- "pplx",
16
+ "agent",
17
17
  "perplexity",
18
- "sonnet-3-5",
18
+ "sonnet-3",
19
19
  "gpt",
20
20
  "claude",
21
21
  "llama",
22
22
  "mixtral",
23
- "nlp",
24
23
  "chat",
25
24
  "multimodal",
26
25
  "groq",
27
- "gpt-4o-mini",
28
- "4o",
29
26
  "ollama",
30
27
  "lmstudio",
31
28
  "together",
32
29
  "o1",
33
- "o1-mini",
34
30
  "deepseek",
35
31
  "o3",
36
32
  "o3-mini",
37
33
  "nousresearch",
38
- "hermes",
34
+ "reasoning",
39
35
  "bottleneck",
36
+ "claude-3-7-sonnet",
40
37
  "clasen"
41
38
  ],
42
39
  "author": "Martin Clasen",