@x12i/ai-profiles 1.2.0 → 1.2.1
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/README.md +5 -1
- package/dist/data/models-profiles.json +9 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -133,7 +133,7 @@ const modelConfig = {
|
|
|
133
133
|
| `cheap` | Remote | **`default`** | `gemini-2.5-flash-lite` |
|
|
134
134
|
| `fast` | Remote | **`default`** | `gpt-5.4-mini` |
|
|
135
135
|
| `balanced` | Remote | **`default`** | `gpt-5.4` |
|
|
136
|
-
| `deep` | Remote | **`reasoning`** | `claude-sonnet-4
|
|
136
|
+
| `deep` | Remote | **`reasoning`** | `claude-sonnet-4.6` |
|
|
137
137
|
| `pro` | Remote | **`default`** | `gpt-5.5` |
|
|
138
138
|
| `local` / `llama_cpp_gguf` | CPU | **`cpu`** | `funcx:llama-cpp:gguf` |
|
|
139
139
|
| `local` / `transformersjs_default` | CPU | **`cpu`** | `Xenova/distilbart-cnn-6-6` |
|
|
@@ -142,6 +142,10 @@ Legacy mode shortcuts: `weak` → local, `normal` → balanced, `strong` → pro
|
|
|
142
142
|
|
|
143
143
|
Local CPU choices expose FuncX env keys in `resolved.metadata` (e.g. `LLAMA_CPP_MODEL_PATH`, `TRANSFORMERS_JS_MODEL_ID`).
|
|
144
144
|
|
|
145
|
+
### OpenRouter model ids
|
|
146
|
+
|
|
147
|
+
Remote profile choices use vendor-native `modelId` values (e.g. `gpt-5.4`, `gemini-2.5-flash-lite`). Anthropic version segments follow OpenRouter slugs (`claude-sonnet-4.6`, not `claude-sonnet-4-6`). `@x12i/ai-tools` resolves these to full OpenRouter slugs (`openai/gpt-5.4`) and remaps deprecated ids when the bundled catalog is stale.
|
|
148
|
+
|
|
145
149
|
## Tests
|
|
146
150
|
|
|
147
151
|
```bash
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"displayName": "Cheap but Safer",
|
|
63
63
|
"description": "Use when cheap is required, but you want a stronger instruction-following model.",
|
|
64
64
|
"provider": "anthropic",
|
|
65
|
-
"modelId": "claude-haiku-4
|
|
65
|
+
"modelId": "claude-haiku-4.5",
|
|
66
66
|
"pricing": {
|
|
67
67
|
"input": 1,
|
|
68
68
|
"cacheWrite5m": 1.25,
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"displayName": "Quality Fast",
|
|
138
138
|
"description": "Fast, but with stronger quality than the cheapest fast options.",
|
|
139
139
|
"provider": "anthropic",
|
|
140
|
-
"modelId": "claude-haiku-4
|
|
140
|
+
"modelId": "claude-haiku-4.5",
|
|
141
141
|
"pricing": {
|
|
142
142
|
"input": 1,
|
|
143
143
|
"cacheWrite5m": 1.25,
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
"displayName": "Reasoning Balanced",
|
|
191
191
|
"description": "Balanced profile with stronger reasoning behavior.",
|
|
192
192
|
"provider": "anthropic",
|
|
193
|
-
"modelId": "claude-sonnet-4
|
|
193
|
+
"modelId": "claude-sonnet-4.6",
|
|
194
194
|
"pricing": {
|
|
195
195
|
"input": 3,
|
|
196
196
|
"cacheWrite5m": 3.75,
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
"displayName": "Deep Default",
|
|
246
246
|
"description": "Recommended high-reasoning model.",
|
|
247
247
|
"provider": "anthropic",
|
|
248
|
-
"modelId": "claude-sonnet-4
|
|
248
|
+
"modelId": "claude-sonnet-4.6",
|
|
249
249
|
"pricing": {
|
|
250
250
|
"input": 3,
|
|
251
251
|
"cacheWrite5m": 3.75,
|
|
@@ -338,7 +338,7 @@
|
|
|
338
338
|
"displayName": "Claude Pro",
|
|
339
339
|
"description": "Premium Claude alternative.",
|
|
340
340
|
"provider": "anthropic",
|
|
341
|
-
"modelId": "claude-opus-4
|
|
341
|
+
"modelId": "claude-opus-4.7",
|
|
342
342
|
"pricing": {
|
|
343
343
|
"input": 5,
|
|
344
344
|
"cacheWrite5m": 6.25,
|
|
@@ -360,7 +360,7 @@
|
|
|
360
360
|
"displayName": "Cost-Aware Pro",
|
|
361
361
|
"description": "Premium-like behavior with lower cost.",
|
|
362
362
|
"provider": "anthropic",
|
|
363
|
-
"modelId": "claude-sonnet-4
|
|
363
|
+
"modelId": "claude-sonnet-4.6",
|
|
364
364
|
"pricing": {
|
|
365
365
|
"input": 3,
|
|
366
366
|
"cacheWrite5m": 3.75,
|
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
"displayName": "Quality JSON",
|
|
441
441
|
"description": "Structured output with stronger reasoning.",
|
|
442
442
|
"provider": "anthropic",
|
|
443
|
-
"modelId": "claude-sonnet-4
|
|
443
|
+
"modelId": "claude-sonnet-4.6",
|
|
444
444
|
"pricing": {
|
|
445
445
|
"input": 3,
|
|
446
446
|
"cacheWrite5m": 3.75,
|
|
@@ -479,7 +479,7 @@
|
|
|
479
479
|
"displayName": "Agentic Default",
|
|
480
480
|
"description": "Recommended model for agentic execution.",
|
|
481
481
|
"provider": "anthropic",
|
|
482
|
-
"modelId": "claude-sonnet-4
|
|
482
|
+
"modelId": "claude-sonnet-4.6",
|
|
483
483
|
"pricing": {
|
|
484
484
|
"input": 3,
|
|
485
485
|
"cacheWrite5m": 3.75,
|
|
@@ -557,7 +557,7 @@
|
|
|
557
557
|
"displayName": "Research Default",
|
|
558
558
|
"description": "Recommended research model.",
|
|
559
559
|
"provider": "anthropic",
|
|
560
|
-
"modelId": "claude-sonnet-4
|
|
560
|
+
"modelId": "claude-sonnet-4.6",
|
|
561
561
|
"pricing": {
|
|
562
562
|
"input": 3,
|
|
563
563
|
"cacheWrite5m": 3.75,
|
package/package.json
CHANGED