naiad-cli 0.2.27 → 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.
package/dist/api/client.d.ts
CHANGED
|
@@ -10,6 +10,8 @@ export declare class APIClient {
|
|
|
10
10
|
display_name: string;
|
|
11
11
|
max_context_tokens?: number;
|
|
12
12
|
max_output_tokens?: number;
|
|
13
|
+
input_price_per_token?: number;
|
|
14
|
+
output_price_per_token?: number;
|
|
13
15
|
}>;
|
|
14
16
|
seer_model_id?: string | null;
|
|
15
17
|
seer_reasoning_effort?: string;
|
|
@@ -20,6 +20,8 @@ interface NaiadModel {
|
|
|
20
20
|
display_name: string;
|
|
21
21
|
max_context_tokens?: number;
|
|
22
22
|
max_output_tokens?: number;
|
|
23
|
+
input_price_per_token?: number;
|
|
24
|
+
output_price_per_token?: number;
|
|
23
25
|
}
|
|
24
26
|
|
|
25
27
|
export default function (pi: ExtensionAPI) {
|
|
@@ -198,7 +200,7 @@ export default function (pi: ExtensionAPI) {
|
|
|
198
200
|
name: m.display_name,
|
|
199
201
|
reasoning: true,
|
|
200
202
|
input: ["text"] as ["text"],
|
|
201
|
-
cost: { input: 0, output: 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 },
|
|
202
204
|
contextWindow: m.max_context_tokens ?? 131072,
|
|
203
205
|
maxTokens: m.max_output_tokens ?? 8192,
|
|
204
206
|
})),
|