Skip to content

fix: set supports_vision to false for novita/openai/gpt-oss-120b - #37585

Open
wasnertobias wants to merge 1 commit into
BerriAI:litellm_internal_stagingfrom
wasnertobias:fix/novita-gpt-oss-120b-supports-vision
Open

fix: set supports_vision to false for novita/openai/gpt-oss-120b#37585
wasnertobias wants to merge 1 commit into
BerriAI:litellm_internal_stagingfrom
wasnertobias:fix/novita-gpt-oss-120b-supports-vision

Conversation

@wasnertobias

Copy link
Copy Markdown

Why are these changes needed?

The novita/openai/gpt-oss-120b entry had supports_vision: true, but gpt-oss-120b is a text-only model without vision support.

Fixes #37584

Change type

  • Bugfix
  • New feature
  • Refactor
  • Documentation
  • Performance improvement
  • Test update
  • CI/CD changes
  • Other

Checklists

I submitted a PR to use-prompt repo

  • I submitted the use-prompt update in a separate PR
  • Not applicable

Model (if applicable)

  • Model is already in the repo under the right provider folder, if not, I submitted a PR to litellm with the following changes:
    • Model added to model_prices_and_context_window_backup.json
    • Model added to litellm/model_prices_and_context_window_backup.json
    • Model added to relevant provider_list in schema.prisma
    • Model added to litellm/llms/<provider>/chat/transformation.py
    • Model added to litellm/llms/<provider>/<sub-provider>/chat/transformation.py if needed
    • Model added to relevant test in tests_llm_completion
  • Model is already in the repo and I submitted a PR to litellm with the following changes:
    • Model added to model_prices_and_context_window_backup.json
    • Model added to litellm/model_prices_and_context_window_backup.json
  • Not applicable

Billed as tokens (if applicable)

Billed as characters (if applicable)

Billed per request (if applicable)

Billed per image (if applicable)

Billed per audio (if applicable)

Billed per second (if applicable)

Related Issues

gpt-oss-120b is a text-only model and does not support vision, but the
entry had supports_vision: true. Fixes BerriAI#37584.

Co-Authored-By: Claude <noreply@anthropic.com>
@CLAassistant

CLAassistant commented Aug 20, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@greptile-apps

greptile-apps Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Corrects the Novita gpt-oss-120b capability metadata to identify the model as text-only.

  • Sets supports_vision to false in the canonical model registry.
  • Applies the same correction to the packaged backup registry.

Confidence Score: 5/5

The PR appears safe to merge because both model registries consistently mark the text-only model as not supporting vision.

The capability correction is applied to the exact Novita model entry in both synchronized registry copies, including the backup consumed by the packaged runtime.

Important Files Changed

Filename Overview
model_prices_and_context_window.json Correctly disables vision support for novita/openai/gpt-oss-120b in the canonical model registry.
litellm/model_prices_and_context_window_backup.json Mirrors the capability correction in the packaged runtime registry, preserving exact synchronization with the canonical file.

Reviews (1): Last reviewed commit: "fix: set supports_vision to false for no..." | Re-trigger Greptile

@codecov

codecov Bot commented Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@codspeed-hq

codspeed-hq Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 31 untouched benchmarks


Comparing wasnertobias:fix/novita-gpt-oss-120b-supports-vision (8a8d608) with litellm_internal_staging (47a7e17)1

Open in CodSpeed

Footnotes

  1. No successful run was found on litellm_internal_staging (5290150) during the generation of this report, so 47a7e17 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

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.

Fix "novita/openai/gpt-oss-120b" entry in "model_prices_and_context_window.json"

2 participants