berget 2.0.1 → 2.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "berget",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "main": "dist/index.js",
5
5
  "bin": {
6
6
  "berget": "dist/index.js"
@@ -677,7 +677,10 @@ function registerCodeCommands(program) {
677
677
  berget: {
678
678
  npm: '@ai-sdk/openai-compatible',
679
679
  name: 'Berget AI',
680
- options: { baseURL: 'https://api.berget.ai/v1' },
680
+ options: {
681
+ baseURL: 'https://api.berget.ai/v1',
682
+ apiKey: '{env:BERGET_API_KEY}',
683
+ },
681
684
  models: MODEL_CONFIG.PROVIDER_MODELS,
682
685
  },
683
686
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "berget",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "main": "dist/index.js",
5
5
  "bin": {
6
6
  "berget": "dist/index.js"
@@ -777,7 +777,10 @@ export function registerCodeCommands(program: Command): void {
777
777
  berget: {
778
778
  npm: '@ai-sdk/openai-compatible',
779
779
  name: 'Berget AI',
780
- options: { baseURL: 'https://api.berget.ai/v1' },
780
+ options: {
781
+ baseURL: 'https://api.berget.ai/v1',
782
+ apiKey: '{env:BERGET_API_KEY}',
783
+ },
781
784
  models: MODEL_CONFIG.PROVIDER_MODELS,
782
785
  },
783
786
  },