omnirush 0.3.2 → 0.3.3
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/package.json +1 -1
- package/src/bin.js +1 -1
- package/src/lib.js +22 -0
package/package.json
CHANGED
package/src/bin.js
CHANGED
|
@@ -527,7 +527,7 @@ if (cmd === "login") await cmdLogin(argv.slice(1));
|
|
|
527
527
|
else if (cmd === "logout") await cmdLogout();
|
|
528
528
|
else if (cmd === "whoami") await cmdWhoami();
|
|
529
529
|
else if (cmd === "doctor") await cmdDoctor();
|
|
530
|
-
else if (cmd === "--version" || cmd === "-v") console.log("omnirush 0.3.
|
|
530
|
+
else if (cmd === "--version" || cmd === "-v") console.log("omnirush 0.3.3");
|
|
531
531
|
else if (cmd === "collect") await cmdCollect(argv.slice(1));
|
|
532
532
|
else if (cmd === undefined || cmd === "run") await cmdRun();
|
|
533
533
|
else {
|
package/src/lib.js
CHANGED
|
@@ -91,6 +91,17 @@ export const MODELS = [
|
|
|
91
91
|
cost: { input: 10, output: 50, cacheRead: 2.5, cacheWrite: 12.5 },
|
|
92
92
|
contextWindow: 400000,
|
|
93
93
|
compat: { supportsMaxOutputTokens: false },
|
|
94
|
+
// Native Astra effort levels (gateway _ACCEPTED_EFFORTS). pi hides
|
|
95
|
+
// xhigh/max unless the model maps them explicitly; "off" (no reasoning
|
|
96
|
+
// field sent) and "max" are both accepted by the gateway.
|
|
97
|
+
thinkingLevelMap: {
|
|
98
|
+
minimal: "minimal",
|
|
99
|
+
low: "low",
|
|
100
|
+
medium: "medium",
|
|
101
|
+
high: "high",
|
|
102
|
+
xhigh: "xhigh",
|
|
103
|
+
max: "max",
|
|
104
|
+
},
|
|
94
105
|
},
|
|
95
106
|
{
|
|
96
107
|
id: "gpt-5.6-sol",
|
|
@@ -103,6 +114,17 @@ export const MODELS = [
|
|
|
103
114
|
// Same codex backend family as astra; same context window.
|
|
104
115
|
contextWindow: 400000,
|
|
105
116
|
compat: { supportsMaxOutputTokens: false },
|
|
117
|
+
// Native Astra effort levels (gateway _ACCEPTED_EFFORTS). pi hides
|
|
118
|
+
// xhigh/max unless the model maps them explicitly; "off" (no reasoning
|
|
119
|
+
// field sent) and "max" are both accepted by the gateway.
|
|
120
|
+
thinkingLevelMap: {
|
|
121
|
+
minimal: "minimal",
|
|
122
|
+
low: "low",
|
|
123
|
+
medium: "medium",
|
|
124
|
+
high: "high",
|
|
125
|
+
xhigh: "xhigh",
|
|
126
|
+
max: "max",
|
|
127
|
+
},
|
|
106
128
|
},
|
|
107
129
|
];
|
|
108
130
|
|