cloudflare / cloudflare/ai

Error: Sorry, but provider "cerebras.chat" is currently not supported

Open
#525 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.2k
Forks
345
Avg merge
13h 31m
Merged PRs (30d)
1

Description

```ts
const aigateway = createAiGateway({
accountId: this.env.CLOUDFLARE_ACCOUNT_ID,
gateway: "default",
apiKey: this.env.CLOUDFLARE_API_TOKEN,
});

const cerebras = createCerebras({ apiKey: this.env.CEREBRAS_API_KEY });

const result = streamText({
model: aigateway(cerebras.chat("gpt-oss-120b")),
```

```
Error: Sorry, but provider "cerebras.chat" is currently not supported, please open a issue in the github repo!
at D:/wcheat-agent/node_modules/.vite/deps_wcheat_agent/ai-gateway-provider.js?v=713a5207:159:31
at Array.map ()
at AiGatewayChatLanguageModel.processModelRequest (D:/wcheat-agent/node_modules/.vite/deps_wcheat_agent/ai-gateway-provider.js?v=713a5207:156:43)
at fn (D:/wcheat-agent/node_modules/.vite/deps_wcheat_agent/dist-CRy0BcOt.js?v=713a5207:7797:17)
at D:/wcheat-agent/node_modules/.vite/deps_wcheat_agent/dist-CRy0BcOt.js?v=713a5207:4013:19
at _retryWithExponentialBackoff (D:/wcheat-agent/node_modules/.vite/deps_wcheat_agent/dist-CRy0BcOt.js?v=713a5207:4221:10)
at streamStep (D:/wcheat-agent/node_modules/.vite/deps_wcheat_agent/dist-CRy0BcOt.js?v=713a5207:7766:98)
at fn (D:/wcheat-agent/node_modules/.vite/deps_wcheat_agent/dist-CRy0BcOt.js?v=713a5207:8080:5)
at D:/wcheat-agent/node_modules/.vite/deps_wcheat_agent/dist-CRy0BcOt.js?v=713a5207:4013:19
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.