Skip to content

Fix types for chat-completions models.#6778

Merged
danlapid merged 2 commits into
cloudflare:mainfrom
samscott89:sscott/fix-chat-model-types
May 25, 2026
Merged

Fix types for chat-completions models.#6778
danlapid merged 2 commits into
cloudflare:mainfrom
samscott89:sscott/fix-chat-model-types

Conversation

@samscott89
Copy link
Copy Markdown
Contributor

Previously these models were set to accept { prompt } inputs (completions format) which is invalid and often results in corrupted output.

This also matches closer with the specified output types, which do not include the completions format output

Previously these models were set to accept `{ prompt }` inputs
(completions format) which is invalid and often results in
corrupted output.

This also matches closer with the specified output types, which
do not include the completions format output
@samscott89 samscott89 requested review from a team as code owners May 22, 2026 19:49
@samscott89 samscott89 requested a review from jamesopstad May 22, 2026 19:49
@petebacondarwin petebacondarwin removed the request for review from jamesopstad May 25, 2026 16:01
@danlapid danlapid merged commit 390b68b into cloudflare:main May 25, 2026
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants