Skip to content

[Workers AI] Use a newer model in the Wrangler starter guide - #33053

Merged
mchenco merged 1 commit into
productionfrom
fix/workers-ai-newer-starter-model
Aug 27, 2026
Merged

[Workers AI] Use a newer model in the Wrangler starter guide#33053
mchenco merged 1 commit into
productionfrom
fix/workers-ai-newer-starter-model

Conversation

@superhighfives

@superhighfives superhighfives commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates the Workers AI Wrangler starter guide to use
@cf/google/gemma-4-26b-a4b-it, a newer model generation. The example now
uses Gemma's documented messages input, disables reasoning for the basic
request, and shows the chat-completion response shape.

Fixes #32501

PR #32728 proposes the still-active
@cf/meta/llama-3.1-8b-instruct-fast variant. The original version of this
PR used @cf/meta/llama-3.2-3b-instruct; this update supersedes both
alternatives by using Gemma 4.

Validation

  • Astro and Worker checks passed
  • ESLint and formatting checks passed
  • Node, Astro, and Workers tests passed
  • Full documentation build passed
  • Live Gemma 4 smoke test unavailable because Wrangler is not authenticated

Documentation checklist

  • The change adheres to the documentation style guide.
  • An issue has been opened for the outdated information this PR fixes.

@github-actions github-actions Bot added product:workers-ai Workers AI: https://developers.cloudflare.com/workers-ai/ size/s labels Aug 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/workers-ai/ @rita3ko, @craigsdennis, @mchenco, @zeke, @superhighfives, @shridhar-cf, @mattrothenberg, @ethulia, @aninibread, @kflansburg, @cloudflare/product-owners

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 26, 2026

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://fix-workers-ai-newer-starter-model.previews.developers.cloudflare.com (commit bd3903b)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://820ad71a.previews.developers.cloudflare.com bd3903b 2026-08-27T01:44:13.719Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://03cfcb76.previews.developers.cloudflare.com ec01c02 2026-08-26T21:31:37.729Z Visit the dashboard ↗

@github-actions

github-actions Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Review

✅ No issues found in commit bd3903b.

Code Review

This code review is in beta and may not always be helpful — use your judgment.

No code review issues found.

Conventions

No convention issues found.

Style Guide Review

No style-guide issues found.

Commands

Only codeowners can run commands. Post a comment with the command to trigger it.

Command Description
/review Runs a review now. Incremental if a prior review exists, full if not.
/full-review Re-reviews the entire PR diff from scratch, ignoring incremental history. Useful after a rebase, when you want a fresh review, or if the bot gets out of sync and reports issues that no longer exist.
/ignore-review-limit Permanently lifts the 2-review automatic limit for this PR. Future pushes will trigger reviews as normal.
/disable-auto-review Stops automatic reviews from triggering on future pushes to this PR. Codeowners can still run /review or /full-review manually.
/rebase Rebases the PR branch against production. On conflict, attempts to resolve automatically using AI. Stops with an explanation if confidence is not high enough.

@superhighfives
superhighfives marked this pull request as draft August 27, 2026 00:26
@superhighfives
superhighfives force-pushed the fix/workers-ai-newer-starter-model branch from ec01c02 to bd3903b Compare August 27, 2026 01:34
@superhighfives
superhighfives marked this pull request as ready for review August 27, 2026 03:56
@mchenco
mchenco merged commit c9b19b1 into production Aug 27, 2026
15 checks passed
@mchenco
mchenco deleted the fix/workers-ai-newer-starter-model branch August 27, 2026 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:workers-ai Workers AI: https://developers.cloudflare.com/workers-ai/ size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Model was deprecated

10 participants