Skip to content

Commit 2892361

Browse files
authored
Merge branch 'main' into feat/custom-provider-name-for-google-anthropic
2 parents 934dc9c + c438a0b commit 2892361

File tree

10 files changed

+26
-61
lines changed

10 files changed

+26
-61
lines changed

.changeset/moody-apes-destroy.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@ai-sdk/cerebras': patch
3+
---
4+
5+
fix(cerebras): update model IDs based on https://inference-docs.cerebras.ai/models/overview

.changeset/pre.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@
182182
"mean-beds-chew",
183183
"metal-doors-search",
184184
"mighty-clocks-visit",
185+
"moody-apes-destroy",
185186
"moody-clouds-prove",
186187
"nasty-buttons-grab",
187188
"nasty-candles-fly",

.github/workflows/triage.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: Auto-triage Pull Request
1414
runs-on: ubuntu-latest
1515
timeout-minutes: 5
16-
if: github.event_name == 'pull_request'
16+
if: github.event_name == 'pull_request_target'
1717
steps:
1818
- name: Create access token for GitHub App
1919
uses: actions/create-github-app-token@v2
@@ -258,6 +258,7 @@ jobs:
258258
- Only assign labels if you're reasonably confident (>0.6) about the relevance
259259
- If the issue mentiones React Native or Expo, add the "ai/ui" label and "expo" label
260260
- If the issue is about adding a new provider or another 3rd party tool, add documentation, ai/provider, and provider/community labels.
261+
- If the issue looks like "🤖 Provider API update - <PROVIDER HERE>@11.1.0", then assign ai/provider and provider/<PROVIDER HERE>.
261262
262263
Examples
263264

content/docs/00-introduction/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ We've built some [templates](https://vercel.com/templates?type=ai) that include
5454

5555
## Join our Community
5656

57-
If you have questions about anything related to the AI SDK, you're always welcome to ask our community on [GitHub Discussions](https://github.com/vercel/ai/discussions).
57+
If you have questions about anything related to the AI SDK, you're always welcome to ask our community on [the Vercel Community](https://community.vercel.com/c/ai-sdk/62).
5858

5959
## `llms.txt` (for Cursor, Windsurf, Copilot, Claude etc.)
6060

content/providers/01-ai-sdk-providers/40-cerebras.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ const model = cerebras.chat('llama-3.3-70b');
104104
| `llama3.1-8b` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
105105
| `llama-3.3-70b` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
106106
| `gpt-oss-120b` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
107+
| `qwen-3-32b` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
107108
| `qwen-3-235b-a22b-instruct-2507` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
108109
| `qwen-3-235b-a22b-thinking-2507` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
109-
| `qwen-3-32b` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
110-
| `qwen-3-coder-480b` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
110+
| `zai-glm-4.6` | <Cross size={18} /> | <Check size={18} /> | <Check size={18} /> | <Check size={18} /> |
111111

112112
<Note>
113113
Please see the [Cerebras

packages/ai/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ We've built [templates](https://ai-sdk.dev/docs/introduction#templates) that inc
207207

208208
## Community
209209

210-
The AI SDK community can be found on [GitHub Discussions](https://github.com/vercel/ai/discussions) where you can ask questions, voice ideas, and share your projects with other people.
210+
The AI SDK community can be found on [the Vercel Community](https://community.vercel.com/c/ai-sdk/62) where you can ask questions, voice ideas, and share your projects with other people.
211211

212212
## Contributing
213213

packages/cerebras/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @ai-sdk/cerebras
22

3+
## 2.0.0-beta.36
4+
5+
### Patch Changes
6+
7+
- 5e1e0ed: fix(cerebras): update model IDs based on https://inference-docs.cerebras.ai/models/overview
8+
39
## 2.0.0-beta.35
410

511
### Patch Changes

packages/cerebras/README.md

Lines changed: 1 addition & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -21,57 +21,7 @@ import { cerebras } from '@ai-sdk/cerebras';
2121
## Available Models
2222

2323
Cerebras offers a variety of high-performance language models:
24-
25-
### Llama 3.3 70B
26-
27-
- Model ID: `llama-3.3-70b`
28-
- 70 billion parameters
29-
- Knowledge cutoff: December 2023
30-
- Context Length: 8192
31-
- Training Tokens: 15 trillion+
32-
33-
### Llama 3.1 8B
34-
35-
- Model ID: `llama3.1-8b`
36-
- 8 billion parameters
37-
- Knowledge cutoff: March 2023
38-
- Context Length: 8192
39-
- Training Tokens: 15 trillion+
40-
41-
### GPT-OSS 120B
42-
43-
- Model ID: `gpt-oss-120b`
44-
- 120 billion parameters
45-
- High-performance open-source model
46-
- Optimized for inference speed
47-
48-
### Qwen 3 235B A22B Instruct 2507
49-
50-
- Model ID: `qwen-3-235b-a22b-instruct-2507`
51-
- 235 billion parameters
52-
- Instruction-tuned model
53-
- Released July 2025
54-
55-
### Qwen 3 235B A22B Thinking 2507
56-
57-
- Model ID: `qwen-3-235b-a22b-thinking-2507`
58-
- 235 billion parameters
59-
- Enhanced reasoning capabilities
60-
- Released July 2025
61-
62-
### Qwen 3 32B
63-
64-
- Model ID: `qwen-3-32b`
65-
- 32 billion parameters
66-
- Balanced performance and efficiency
67-
- Multilingual capabilities
68-
69-
### Qwen 3 Coder 480B
70-
71-
- Model ID: `qwen-3-coder-480b`
72-
- 480 billion parameters
73-
- Specialized for code generation and understanding
74-
- Advanced programming capabilities
24+
https://inference-docs.cerebras.ai/models/overview
7525

7626
## Example
7727

packages/cerebras/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ai-sdk/cerebras",
3-
"version": "2.0.0-beta.35",
3+
"version": "2.0.0-beta.36",
44
"license": "Apache-2.0",
55
"sideEffects": false,
66
"main": "./dist/index.js",
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
// https://inference-docs.cerebras.ai/introduction
1+
// https://inference-docs.cerebras.ai/models/overview
22
export type CerebrasChatModelId =
3-
| 'llama-3.3-70b'
3+
// production
44
| 'llama3.1-8b'
5+
| 'llama-3.3-70b'
56
| 'gpt-oss-120b'
7+
| 'qwen-3-32b'
8+
// preview
69
| 'qwen-3-235b-a22b-instruct-2507'
710
| 'qwen-3-235b-a22b-thinking-2507'
8-
| 'qwen-3-32b'
9-
| 'qwen-3-coder-480b'
11+
| 'zai-glm-4.6'
1012
| (string & {});

0 commit comments

Comments
 (0)