@ai-sdk/cerebras 2.0.75 → 2.0.77

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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @ai-sdk/cerebras
2
2
 
3
+ ## 2.0.77
4
+
5
+ ### Patch Changes
6
+
7
+ - b3320eb: chore(cerebras): remove deprecated zai glm-4.7 model
8
+ - Updated dependencies [2d172fb]
9
+ - @ai-sdk/provider-utils@4.0.47
10
+ - @ai-sdk/openai-compatible@2.0.71
11
+
12
+ ## 2.0.76
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [c79dd10]
17
+ - @ai-sdk/openai-compatible@2.0.70
18
+
3
19
  ## 2.0.75
4
20
 
5
21
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -2,7 +2,7 @@ import { ProviderV3, LanguageModelV3 } from '@ai-sdk/provider';
2
2
  import { FetchFunction } from '@ai-sdk/provider-utils';
3
3
  import { z } from 'zod/v4';
4
4
 
5
- type CerebrasChatModelId = 'llama3.1-8b' | 'gpt-oss-120b' | 'qwen-3-235b-a22b-instruct-2507' | 'qwen-3-235b-a22b-thinking-2507' | 'zai-glm-4.6' | 'zai-glm-4.7' | (string & {});
5
+ type CerebrasChatModelId = 'llama3.1-8b' | 'gpt-oss-120b' | 'qwen-3-235b-a22b-instruct-2507' | 'qwen-3-235b-a22b-thinking-2507' | 'zai-glm-4.6' | (string & {});
6
6
 
7
7
  declare const cerebrasErrorSchema: z.ZodObject<{
8
8
  message: z.ZodString;
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { ProviderV3, LanguageModelV3 } from '@ai-sdk/provider';
2
2
  import { FetchFunction } from '@ai-sdk/provider-utils';
3
3
  import { z } from 'zod/v4';
4
4
 
5
- type CerebrasChatModelId = 'llama3.1-8b' | 'gpt-oss-120b' | 'qwen-3-235b-a22b-instruct-2507' | 'qwen-3-235b-a22b-thinking-2507' | 'zai-glm-4.6' | 'zai-glm-4.7' | (string & {});
5
+ type CerebrasChatModelId = 'llama3.1-8b' | 'gpt-oss-120b' | 'qwen-3-235b-a22b-instruct-2507' | 'qwen-3-235b-a22b-thinking-2507' | 'zai-glm-4.6' | (string & {});
6
6
 
7
7
  declare const cerebrasErrorSchema: z.ZodObject<{
8
8
  message: z.ZodString;
package/dist/index.js CHANGED
@@ -104,7 +104,7 @@ var CerebrasChatLanguageModel = class extends import_openai_compatible.OpenAICom
104
104
  var import_v4 = require("zod/v4");
105
105
 
106
106
  // src/version.ts
107
- var VERSION = true ? "2.0.75" : "0.0.0-test";
107
+ var VERSION = true ? "2.0.77" : "0.0.0-test";
108
108
 
109
109
  // src/cerebras-provider.ts
110
110
  var cerebrasErrorSchema = import_v4.z.object({
package/dist/index.mjs CHANGED
@@ -82,7 +82,7 @@ var CerebrasChatLanguageModel = class extends OpenAICompatibleChatLanguageModel
82
82
  import { z } from "zod/v4";
83
83
 
84
84
  // src/version.ts
85
- var VERSION = true ? "2.0.75" : "0.0.0-test";
85
+ var VERSION = true ? "2.0.77" : "0.0.0-test";
86
86
 
87
87
  // src/cerebras-provider.ts
88
88
  var cerebrasErrorSchema = z.object({
@@ -99,7 +99,7 @@ const model = cerebras.chat('llama-3.3-70b');
99
99
 
100
100
  ### Reasoning Models
101
101
 
102
- Cerebras offers several reasoning models including `gpt-oss-120b`, `qwen-3-32b`, and `zai-glm-4.7` that generate intermediate thinking tokens before their final response. The reasoning output is streamed through the standard AI SDK reasoning parts.
102
+ Cerebras offers several reasoning models including `gpt-oss-120b` and `qwen-3-32b` that generate intermediate thinking tokens before their final response. The reasoning output is streamed through the standard AI SDK reasoning parts.
103
103
 
104
104
  For `gpt-oss-120b`, you can control the reasoning depth using the `reasoningEffort` provider option:
105
105
 
@@ -155,7 +155,6 @@ The following optional provider options are available for Cerebras language mode
155
155
  | `qwen-3-235b-a22b-instruct-2507` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Cross size={18} /> |
156
156
  | `qwen-3-235b-a22b-thinking-2507` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Cross size={18} /> |
157
157
  | `zai-glm-4.6` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Cross size={18} /> |
158
- | `zai-glm-4.7` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
159
158
 
160
159
  <Note>
161
160
  The models `qwen-3-32b` and `llama-3.3-70b` are scheduled for deprecation on
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/cerebras",
3
- "version": "2.0.75",
3
+ "version": "2.0.77",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -29,9 +29,9 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@ai-sdk/openai-compatible": "2.0.69",
32
+ "@ai-sdk/openai-compatible": "2.0.71",
33
33
  "@ai-sdk/provider": "3.0.15",
34
- "@ai-sdk/provider-utils": "4.0.46"
34
+ "@ai-sdk/provider-utils": "4.0.47"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "20.17.24",
@@ -7,5 +7,4 @@ export type CerebrasChatModelId =
7
7
  | 'qwen-3-235b-a22b-instruct-2507'
8
8
  | 'qwen-3-235b-a22b-thinking-2507'
9
9
  | 'zai-glm-4.6'
10
- | 'zai-glm-4.7'
11
10
  | (string & {});