Skip to content

feat(cloudflare-workers-ai): add reasoning options#2084

Open
rekram1-node wants to merge 2 commits into
devfrom
feat/cloudflare-workers-ai-reasoning-options
Open

feat(cloudflare-workers-ai): add reasoning options#2084
rekram1-node wants to merge 2 commits into
devfrom
feat/cloudflare-workers-ai-reasoning-options

Conversation

@rekram1-node

@rekram1-node rekram1-node commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add live-verified reasoning option metadata for supported Cloudflare Workers AI models
  • record explicit empty option sets for fixed-reasoning DeepSeek R1 Distill and QwQ endpoints
  • mark Gemma and Nemotron as interleaved without adding a new shared response-field enum value

Live verification

  • live-tested the included Workers AI endpoints and retained only controls accepted by each endpoint
  • verified toggle and low/medium/high effort controls where declared, and effort-only controls for GPT-OSS
  • confirmed fixed-reasoning endpoints do not expose a functional caller-selectable control
  • observed Cloudflare reasoning output for Gemma and Nemotron while preserving compatibility with strict models.dev consumers

Verification

  • bun validate
  • git diff --check
  • original branch test run: bun test reported 24 pass and 1 unrelated pre-existing NVIDIA weights-link assertion failure

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.

1 participant