naiad-cli 0.2.28 → 0.2.29

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.
@@ -200,7 +200,7 @@ export default function (pi: ExtensionAPI) {
200
200
  name: m.display_name,
201
201
  reasoning: true,
202
202
  input: ["text"] as ["text"],
203
- cost: { input: m.input_price_per_token ?? 0, output: m.output_price_per_token ?? 0, cacheRead: 0, cacheWrite: 0 },
203
+ cost: { input: (m.input_price_per_token ?? 0) * 1_000_000, output: (m.output_price_per_token ?? 0) * 1_000_000, cacheRead: 0, cacheWrite: 0 },
204
204
  contextWindow: m.max_context_tokens ?? 131072,
205
205
  maxTokens: m.max_output_tokens ?? 8192,
206
206
  })),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "naiad-cli",
3
- "version": "0.2.28",
3
+ "version": "0.2.29",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "naiad": "./dist/index.js"