llmstash 1.0.5 → 1.0.7
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.
Potentially problematic release.
This version of llmstash might be problematic. Click here for more details.
- package/bin/llmstash.js +3 -7
- package/package.json +1 -1
package/bin/llmstash.js
CHANGED
|
@@ -180,9 +180,7 @@ const setupEnvironmentVariables = (target, apiKey) => {
|
|
|
180
180
|
|
|
181
181
|
envVars = {
|
|
182
182
|
ANTHROPIC_AUTH_TOKEN: apiKey,
|
|
183
|
-
|
|
184
|
-
CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS: "1",
|
|
185
|
-
ANTHROPIC_SMALL_FAST_MODEL: "claude-3-5-haiku-20241022"
|
|
183
|
+
CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS: "1"
|
|
186
184
|
};
|
|
187
185
|
}
|
|
188
186
|
else if (target === 'codex') {
|
|
@@ -197,8 +195,7 @@ const setupEnvironmentVariables = (target, apiKey) => {
|
|
|
197
195
|
fs.writeFileSync(configPath, toml, 'utf8');
|
|
198
196
|
|
|
199
197
|
envVars = {
|
|
200
|
-
OPENAI_API_KEY: apiKey
|
|
201
|
-
OPENAI_BASE_URL: `${internalProxyUrl}/v1`
|
|
198
|
+
OPENAI_API_KEY: apiKey
|
|
202
199
|
};
|
|
203
200
|
}
|
|
204
201
|
else if (target === 'gemini') {
|
|
@@ -209,8 +206,7 @@ const setupEnvironmentVariables = (target, apiKey) => {
|
|
|
209
206
|
fs.writeFileSync(authPath, JSON.stringify({ "GEMINI_API_KEY": apiKey }, null, 4), 'utf8');
|
|
210
207
|
|
|
211
208
|
envVars = {
|
|
212
|
-
GEMINI_API_KEY: apiKey
|
|
213
|
-
GEMINI_BASE_URL: internalProxyUrl
|
|
209
|
+
GEMINI_API_KEY: apiKey
|
|
214
210
|
};
|
|
215
211
|
}
|
|
216
212
|
|