Skip to content

Conversation

pashpashpash
Copy link
Contributor

@pashpashpash pashpashpash commented Aug 5, 2025

Related Issue

Issue: #XXXX

Description

Test Procedure

Type of Change

  • πŸ› Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • πŸ’₯ Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • ♻️ Refactor Changes
  • πŸ’… Cosmetic Changes
  • πŸ“š Documentation update
  • πŸƒ Workflow Changes

Pre-flight Checklist

  • Changes are limited to a single feature, bugfix or chore (split larger changes into separate PRs)
  • Tests are passing (npm test) and code is formatted and linted (npm run format && npm run lint)
  • I have created a changeset using npm run changeset (required for user-facing changes)
  • I have reviewed contributor guidelines

Screenshots

Additional Notes


Important

Add openai/gpt-oss-120b and openai/gpt-oss-20b models to Hugging Face and Groq listings in api.ts, with updated attributes and pricing.

  • Models:
    • Add openai/gpt-oss-120b and openai/gpt-oss-20b to huggingFaceModels and groqModels in api.ts.
    • Set groqDefaultModelId to openai/gpt-oss-120b.
  • Attributes:
    • maxTokens set to 32766 and contextWindow to 131072 for both models.
    • Pricing set to 0 for Hugging Face and 0.15/0.75 (input/output) for gpt-oss-120b and 0.1/0.5 for gpt-oss-20b in Groq.
  • Documentation:
    • Add changeset strong-zoos-arrive.md documenting new OSS OpenAI models in Hugging Face and Groq.

This description was created by Ellipsis for cf6428e. You can customize this summary. It will automatically update as commits are pushed.

@Copilot Copilot AI review requested due to automatic review settings August 5, 2025 17:42
Copy link

changeset-bot bot commented Aug 5, 2025

πŸ¦‹ Changeset detected

Latest commit: cf6428e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
claude-dev Patch

Not sure what this means? Click here to learn what changesets are.

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

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds configuration for two OpenAI open-weight reasoning models in the Hugging Face models registry, specifically "openai/gpt-oss-120b" and "openai/gpt-oss-20b". Both models are configured with identical token limits and capabilities.

  • Adds two new OpenAI model configurations to the huggingFaceModels object
  • Sets both models with 32,767 token limits for max tokens and context window
  • Configures models without image support or prompt caching capabilities
Comments suppressed due to low confidence (1)

src/shared/api.ts:1137

  • The models 'openai/gpt-oss-120b' and 'openai/gpt-oss-20b' do not appear to be valid OpenAI models available on Hugging Face. These model identifiers are not recognized as existing OpenAI models. Please verify the correct model names and ensure they exist on the Hugging Face platform.
		maxTokens: 32767,

Copy link
Contributor

github-actions bot commented Aug 5, 2025

Coverage Report

Extension Coverage

Base branch: 47%

PR branch: 48%

βœ… Coverage increased or remained the same

Webview Coverage

Base branch: 17%

PR branch: 17%

βœ… Coverage increased or remained the same

Overall Assessment

βœ… Test coverage has been maintained or improved

Last updated: 2025-08-05T18:12:24.116350

@arafatkatze
Copy link
Contributor

NOTE: In my testing this DOES NOT WORK well and the model for 120B kinda doesn't work at all but the hope is that the system card will be respected eventually.

image

Copy link
Contributor

@abeatrix abeatrix left a comment

Choose a reason for hiding this comment

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

@pashpashpash pashpashpash merged commit 6e5d4a3 into main Aug 5, 2025
12 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