GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(ai): add native Groq provider with provider-specific options by rekram1-node · Pull Request #45288 · anomalyco/opencode

Conversation

@rekram1-node

@rekram1-node rekram1-node commented Aug 26, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Issue for this PR

N/A

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds a Groq provider that extends the Chat Completions request schema with its own parallel-tool, service-tier, user, and reasoning options. Reasoning format is always parsed except on GPT-OSS, where the field is omitted; it is not a public option. Reuses the existing request builder and streaming parser without changing the base protocol or adding x_groq handling. Core resolves Groq natively and removes its old SDK plugin/direct dependency.

Four fresh cassettes cover text, parallel tool calls and continuation, GPT-OSS reasoning replay, and Qwen parsed reasoning. All six captured HTTP responses include standard top-level usage with stream_options.include_usage enabled. Existing cassettes and shared recording helpers are unchanged.

How did you verify your code works?

  • Focused AI/provider/cassette tests: 91 passed.
  • Focused Core integration tests: 67 passed.
  • AI, Core, Server, SDK, and CLI package typechecks passed.
  • Single-target CLI build, workerd bundle probe, and frozen-lockfile install passed.
  • Verified all new cassettes exclude credentials and authentication headers.
  • Broad Core suite: 2,303 passed, 16 skipped, one unrelated existing failure in preload.test.ts (OPENCODE_TEST_HOME is not set by the current v2 preload).

Screenshots / recordings

N/A

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
rekram1-node added 2 commits August 26, 2026 09:45
@rekram1-node
feat(ai): add Groq provider options over Chat Completions
500a796
@rekram1-node
fix(ai): default Groq to parsed reasoning except GPT-OSS
20d0440
@rekram1-node
rekram1-node merged commit f4a9b93 into v2 Aug 26, 2026
1 of 5 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@rekram1-node
rekram1-node deleted the native-groq branch August 26, 2026 15:12
jinhuang712 pushed a commit to jinhuang712/opencode that referenced this pull request Sep 26, 2026
@rekram1-node
feat(ai): add native Groq provider with provider-specific options (an…
6beb22f
…omalyco#45288)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@rekram1-node
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.