cloudflare / cloudflare/ai

Fix dashboard example createGoogle()

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

Description

The dashboard says use `createGoogle()`, but after a lot of search I found, it's `createGoogleGenerativeAI()`

https://github.com/cloudflare/ai/blob/3bea0a571e3b6ee2140e25d3ac76535346a01212/packages/ai-gateway-provider/src/providers/index.ts#L10

Image

Contributor guide

Open the contributing guide

Research direction

Start with the dashboard example referenced in the issue and compare its createGoogle() usage with packages/ai-gateway-provider/src/providers/index.ts at line 10. Update the example to use the provider name shown there, then verify the dashboard example no longer refers to createGoogle().

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.