@agi-cli/sdk 0.1.103 → 0.1.105
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/src/providers/src/env.ts
CHANGED
|
@@ -7,6 +7,8 @@ const ENV_VARS: Record<ProviderId, string> = {
|
|
|
7
7
|
openrouter: 'OPENROUTER_API_KEY',
|
|
8
8
|
opencode: 'OPENCODE_API_KEY',
|
|
9
9
|
solforge: 'SOLFORGE_PRIVATE_KEY',
|
|
10
|
+
zai: 'ZAI_API_KEY',
|
|
11
|
+
'zai-coding': 'ZAI_API_KEY',
|
|
10
12
|
};
|
|
11
13
|
|
|
12
14
|
export function providerEnvVar(provider: ProviderId): string {
|
|
@@ -74,6 +74,15 @@ const pricingTable: Record<ProviderName, PricingEntry[]> = {
|
|
|
74
74
|
opencode: [
|
|
75
75
|
// Pricing from catalog entries; leave empty here
|
|
76
76
|
],
|
|
77
|
+
solforge: [
|
|
78
|
+
// Pricing from catalog entries; leave empty here
|
|
79
|
+
],
|
|
80
|
+
zai: [
|
|
81
|
+
// Pricing from catalog entries; leave empty here
|
|
82
|
+
],
|
|
83
|
+
'zai-coding': [
|
|
84
|
+
// Pricing from catalog entries; leave empty here
|
|
85
|
+
],
|
|
77
86
|
};
|
|
78
87
|
|
|
79
88
|
function findPricing(
|