Skip to content

add catalog models to Prettierignore, add back streaming examples for deepseek and fable#31365

Draft
ethulia wants to merge 3 commits into
productionfrom
prettierignore-catalog-models
Draft

add catalog models to Prettierignore, add back streaming examples for deepseek and fable#31365
ethulia wants to merge 3 commits into
productionfrom
prettierignore-catalog-models

Conversation

@ethulia

@ethulia ethulia commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

Screenshots (optional)

Documentation checklist

  • Is there a changelog entry (guidelines)? If you don't add one for something awesome and new (however small) — how will our customers find out? Changelogs are automatically posted to RSS feeds, the Discord, and X.
  • The change adheres to the documentation style guide.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Review

✅ No style-guide issues found in commit 190bef2.

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.

@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
* @cloudflare/product-owners
/src/content/catalog-models/ @abhishekkankani, @palashgo, @thebongy, @roerohan, @kathayl, @mchenco, @zeke, @superhighfives, @bfirsh, @mattrothenberg, @ethulia, @cloudflare/content-engineering, @cloudflare/product-owners

@ask-bonk ask-bonk Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The streaming examples added back for deepseek and fable contain captured runner failures ( objects) instead of successful responses. These should be fixed or removed before merge. Also, the PR body is empty — please add a brief description of why these examples were removed and what changed.

],
"stream": true
},
"error": {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This streaming example contains a captured runner failure ( object). Examples should contain successful or data, not an internal error. Please recapture with a working response or remove this example.

"model": "deepseek/deepseek-v4-pro",
"stream": true
},
"error": {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This streaming example contains a captured runner failure ( object). Examples should contain successful or data, not an internal error. Please recapture with a working response or remove this example.

@ask-bonk

ask-bonk Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Review posted on PR #31365.

I applied labels: ai-consumability, docs-repo-or-site.

Summary of changes

  • Adds src/content/catalog-models/*.json to .prettierignore (1 line)
  • Reformats ~98 catalog model JSON files by expanding inline arrays to multiline (Prettier-style formatting)
  • Adds a "Streaming Response" example back to anthropic-claude-fable-5.json and deepseek-deepseek-v4-pro.json

Issues flagged

HIGH — The two streaming examples contain captured runner failures instead of successful responses:

  • src/content/catalog-models/anthropic-claude-fable-5.json:261 — includes "error": { "kind": "runner-failure", "message": "normalizer returned empty output — check modality vs response shape, or recapture" }
  • src/content/catalog-models/deepseek-deepseek-v4-pro.json:145 — same runner-failure error

The modelExampleSchema does not define an error field, so this data would be stripped at build time anyway. These examples should contain valid output or raw_response data, or be removed if a working streaming response cannot be captured.

LOW — The PR body is essentially empty (default template with no filled-in context). A brief description explaining why the streaming examples were previously removed and what prompted adding them back would help reviewers.

github run

@github-actions

Copy link
Copy Markdown
Contributor

@ethulia ethulia marked this pull request as draft June 10, 2026 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants