Skip to content

fix(model-prices): correct novita gpt-oss vision support - #38019

Closed
Ritanshu1104 wants to merge 1 commit into
BerriAI:litellm_internal_stagingfrom
Ritanshu1104:fix/novita-gpt-oss-vision-metadata
Closed

Ritanshu1104 wants to merge 1 commit into
BerriAI:litellm_internal_stagingfrom
Ritanshu1104:fix/novita-gpt-oss-vision-metadata

Conversation

@Ritanshu1104

Copy link
Copy Markdown

TLDR

Problem this solves:

  • Text-only model advertised vision support
  • Mirrored metadata files disagreed with provider capability

How it solves it:

  • Marks vision support false in both entries

User Flow

Before: an integrator reads LiteLLM model metadata and sees a text-only model advertised as supporting vision

  1. They inspect the metadata for novita/openai/gpt-oss-120b
  2. The entry reports "supports_vision": true
  3. Their integration may offer image input for a text-only model

After: the same metadata accurately reports that the model does not support vision

  1. They inspect the metadata for novita/openai/gpt-oss-120b
  2. The entry reports "supports_vision": false
  3. Their integration does not offer image input for this model

Relevant issues

Fixes #37584

Linear ticket

Pre-Submission checklist

  • I have added meaningful tests
  • The handful of test files covering my change pass locally
  • My PR passes all required CI/CD checks
  • My PR's scope is as isolated as possible; it only solves 1 specific problem
  • I have received a Greptile Confidence Score of at least 4/5 before requesting a maintainer review

Screenshots / Proof of Fix

Before (f005afa)

  1. Parsed both model metadata files
  2. Each novita/openai/gpt-oss-120b entry reported "supports_vision": true

After (5b30339)

  1. Parsed both model metadata files after the correction
  2. Each novita/openai/gpt-oss-120b entry reports "supports_vision": false

Type

🐛 Bug Fix

Caveats (if any)

Final Attestation

  • The tests check the right things, including the edge cases, and regressions in the respective real-world customer use-cases are not possible after this PR

@CLAassistant

CLAassistant commented Aug 23, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@greptile-apps

greptile-apps Bot commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Corrects the advertised vision capability for Novita's gpt-oss-120b model in both synchronized metadata catalogs

  • Changes supports_vision from true to false in the root model catalog
  • Applies the same correction to the packaged backup catalog
  • Leaves the corrected capability without focused regression coverage

Confidence Score: 4/5

The metadata correction appears safe to merge, with only non-blocking regression coverage missing

Both model catalogs remain synchronized and consistently disable the unsupported capability, but no focused test protects the corrected Novita entry

Files Needing Attention: model_prices_and_context_window.json

Important Files Changed

Filename Overview
model_prices_and_context_window.json Corrects the primary Novita capability entry, but no focused regression test protects the new value
litellm/model_prices_and_context_window_backup.json Applies the identical correction to the packaged runtime metadata mirror

Reviews (1): Last reviewed commit: "fix(model-prices): correct novita gpt-os..." | Re-trigger Greptile

"supports_parallel_function_calling": true,
"supports_tool_choice": true,
"supports_vision": true,
"supports_vision": false,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Missing capability regression test

No focused test asserts the corrected Novita capability, so the incorrect vision advertisement can return without a targeted test failing

Context Used: CLAUDE.md (source)

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

@codecov

codecov Bot commented Aug 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@codspeed

codspeed Bot commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 31 untouched benchmarks


Comparing Ritanshu1104:fix/novita-gpt-oss-vision-metadata (5b30339) with litellm_internal_staging (d447be1)1

Open in CodSpeed

Footnotes

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

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Reviewed while consolidating registry changes into the rolling PR #37902. Not rolling this one in yet, reason in that PR description under 'Source PR disposition for this run'. Leaving it open for the author to respond.

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