Skip to content
Source
Sign inSign up
TanStack/schemas

groq: state the upstream model from the maker prefix in the id #728

Mergedtombeckenhammerged 1 commit intomain fromfeat/718-upstream-groqmerged by tombeckenham View on GitHub

tombeckenhamcommented

Part of #718.

Rule: Groq's GET /openai/v1/models names the maker as the id's namespace (openai/gpt-oss-120b), the same form as OpenRouter, Vercel, Perplexity and Lovable, so the adapter uses the shared namespacedUpstreamIdentity: source listing, https://api.groq.com/openai/v1/models, path data[].id. A bare id (allam-2-7b, whisper-large-v3) states nothing. The listing's owned_by is a display name ("OpenAI", "Alibaba Cloud"), not a namespace, and reading it would need a name map, so the id prefix is used.

Examples:

  • openai/gpt-oss-120b -> openai / gpt-oss-120b
  • meta-llama/llama-prompt-guard-2-86m -> meta-llama / llama-prompt-guard-2-86m

Counts against the 11 live rows (2026-11-21): 8 state an upstream (openai 3, meta-llama 2, canopylabs 2, qwen 1); none of them has a target row today, so this PR adds evidence but no links yet. The gap report's origin-link coverage for Groq will not move until a target exists.

Unlinked, and why:

  • openai/gpt-oss-*: OpenAI's API lists no gpt-oss row (open weights, not served by OpenAI).
  • meta-llama/, canopylabs/, qwen/: no provider claims those namespaces, and the meta provider lists no Llama.
  • allam-2-7b, whisper-large-v3, whisper-large-v3-turbo: the id names no maker.
    1. ⚠️ No Changeset found

      Latest commit: e250af4cb14113951016bb296255e4bcd028c9ce

      Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

      This PR includes no changesets

      When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

      Click here to learn what changesets are, and how to add one.

      Click here if you're a maintainer who wants to add a changeset to this PR

    2. Warning

      Review limit reached

      You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

      Next included review available in 31 minutes.

      Check out review usage here.

      View limit details

      Limit details: You’ve used the included review currently available.

      Learn how review limits work.

      Review configuration:

      Run configuration

      • Source mode: Auto
      • Repository: Unavailable
      • Branch: Unavailable
      • File: No configuration file from this repository applied
      • Commit: Unavailable
      • Layers: defaults
      • Review profile: CHILL
      • Plan: Advanced
      • Run ID: 2e4f2fe3-a7d5-4d15-895a-0f74861144a8
      Commits

      Reviewing files that changed from the base of the PR and between 3cd28b65a3b40ec3143f48410a4a6fc3dc9fcc38 and e250af4cb14113951016bb296255e4bcd028c9ce.

      Files selected for processing: 2

      • src/server/providers/adapters/groq.test.ts
      • src/server/providers/adapters/groq.ts
      • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

      Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

      Share

    3. tombeckenham merged thise7a79a2

    4. tombeckenham closed this

Sign in to join this conversation.