@ai-sdk/cerebras 3.0.35 → 3.0.36

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,13 @@
1
1
  # @ai-sdk/cerebras
2
2
 
3
+ ## 3.0.36
4
+
5
+ ### Patch Changes
6
+
7
+ - 9de10a6: chore(cerebras): remove deprecated zai glm-4.7 model
8
+ - Updated dependencies [ece5bdb]
9
+ - @ai-sdk/openai-compatible@3.0.36
10
+
3
11
  ## 3.0.35
4
12
 
5
13
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { ProviderV4, LanguageModelV4 } 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 = 'gpt-oss-120b' | 'gemma-4-31b' | 'zai-glm-4.7' | (string & {});
5
+ type CerebrasChatModelId = 'gpt-oss-120b' | 'gemma-4-31b' | (string & {});
6
6
 
7
7
  declare const cerebrasErrorSchema: z.ZodObject<{
8
8
  message: z.ZodString;
package/dist/index.js CHANGED
@@ -96,7 +96,7 @@ var CerebrasChatLanguageModel = class _CerebrasChatLanguageModel extends OpenAIC
96
96
  import { z } from "zod/v4";
97
97
 
98
98
  // src/version.ts
99
- var VERSION = true ? "3.0.35" : "0.0.0-test";
99
+ var VERSION = true ? "3.0.36" : "0.0.0-test";
100
100
 
101
101
  // src/cerebras-provider.ts
102
102
  var cerebrasErrorSchema = z.object({
@@ -85,7 +85,7 @@ const model = cerebras.chat('gpt-oss-120b');
85
85
 
86
86
  ### Reasoning Models
87
87
 
88
- Cerebras offers reasoning models including `gpt-oss-120b`, `zai-glm-4.7`, and `gemma-4-31b` that generate intermediate thinking tokens before their final response. The reasoning output is streamed through the standard AI SDK reasoning parts.
88
+ Cerebras offers reasoning models including `gpt-oss-120b` and `gemma-4-31b` that generate intermediate thinking tokens before their final response. The reasoning output is streamed through the standard AI SDK reasoning parts.
89
89
 
90
90
  For `gpt-oss-120b`, you can control the reasoning depth using the `reasoningEffort` provider option:
91
91
 
@@ -189,5 +189,4 @@ const result = await generateText({
189
189
  | Model | Image Input | Object Generation | Tool Usage | Tool Streaming | Reasoning |
190
190
  | -------------- | ----------- | ----------------- | ---------- | -------------- | --------- |
191
191
  | `gpt-oss-120b` | <Cross /> | <Check /> | <Check /> | <Check /> | <Check /> |
192
- | `zai-glm-4.7` | <Cross /> | <Check /> | <Check /> | <Check /> | <Check /> |
193
192
  | `gemma-4-31b` | <Check /> | <Check /> | <Check /> | <Check /> | <Check /> |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/cerebras",
3
- "version": "3.0.35",
3
+ "version": "3.0.36",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
@@ -29,7 +29,7 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@ai-sdk/openai-compatible": "3.0.35",
32
+ "@ai-sdk/openai-compatible": "3.0.36",
33
33
  "@ai-sdk/provider": "4.0.7",
34
34
  "@ai-sdk/provider-utils": "5.0.29"
35
35
  },
@@ -1,8 +1,4 @@
1
1
  // https://inference-docs.cerebras.ai/models/overview
2
2
  export type CerebrasChatModelId =
3
3
  // production
4
- | 'gpt-oss-120b'
5
- | 'gemma-4-31b'
6
- // preview
7
- | 'zai-glm-4.7'
8
- | (string & {});
4
+ 'gpt-oss-120b' | 'gemma-4-31b' | (string & {});