Skip to content

Feat/opengateway nemotron free - #1539

Merged
kevincodex1 merged 2 commits into
Twigpine:mainfrom
kevincodex1:feat/opengateway-nemotron-free
Jun 5, 2026
Merged

kevincodex1 merged 2 commits into
Twigpine:mainfrom
kevincodex1:feat/opengateway-nemotron-free

Conversation

@kevincodex1

@kevincodex1 kevincodex1 commented Jun 5, 2026 •

Copy link
Copy Markdown
Member

added nemotron free model

Summary by CodeRabbit

  • New Features

    • Added free tier variant of Nemotron 3 Ultra (550B) model available via Opengateway.
    • Model descriptions now display optional notes (e.g., "Free") alongside provider information.
  • Tests

    • Added tests to verify model catalog entries with notes are properly surfaced in descriptions.

kevincodex1 and others added 2 commits June 5, 2026 09:46
Add the OpenRouter :free Nemotron 3 Ultra endpoint (550B MoE, 1M
context, 65K output, tools + reasoning) to the opengateway catalog.
Bills $0 and bypasses the gateway credit gate, so it works for every
user — no credits or premium plan needed.

Co-Authored-By: OpenClaude <openclaude@gitlawb.com>
Wire ModelCatalogEntry.notes into the route catalog description so the
Nemotron 3 Ultra entry shows "Free · Provider: Gitlawb Opengateway" in
the model picker.

Co-Authored-By: OpenClaude <openclaude@gitlawb.com>
@coderabbitai

coderabbitai Bot commented Jun 5, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 559e5962-5fe0-4975-aa49-070670e4aecc

📥 Commits

Reviewing files that changed from the base of the PR and between 997efb8 and ddc1780.

📒 Files selected for processing (6)
  • src/commands/model/model.test.tsx
  • src/integrations/brands/nemotron.ts
  • src/integrations/gateways/gitlawb-opengateway.ts
  • src/integrations/models/nemotron.ts
  • src/utils/model/routeCatalogOptions.test.ts
  • src/utils/model/routeCatalogOptions.ts
📜 Recent review details
🧰 Additional context used
📓 Path-based instructions (6)
**/*.{ts,tsx,js,jsx,py}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Follow the existing code style in the touched files and prefer small, readable changes over broad rewrites

Files:

  • src/integrations/brands/nemotron.ts
  • src/utils/model/routeCatalogOptions.ts
  • src/integrations/gateways/gitlawb-opengateway.ts
  • src/utils/model/routeCatalogOptions.test.ts
  • src/integrations/models/nemotron.ts
  • src/commands/model/model.test.tsx
**/*

⚙️ CodeRabbit configuration file

**/*: Apply the OpenClaude maintainer review rubric from AGENTS.md. Review the current diff, not stale discussion context. Separate real blockers from suggestions. Do not request changes for vague style churn. Treat approval as merge-ready from CodeRabbit's side, pending required human review and GitHub Checks. If checks are failing or unavailable, say so clearly instead of implying the PR is fully ready.

Files:

  • src/integrations/brands/nemotron.ts
  • src/utils/model/routeCatalogOptions.ts
  • src/integrations/gateways/gitlawb-opengateway.ts
  • src/utils/model/routeCatalogOptions.test.ts
  • src/integrations/models/nemotron.ts
  • src/commands/model/model.test.tsx
{src/services/api/**,src/integrations/**,src/utils/model/**,src/utils/provider*.ts,src/commands/provider/**}

⚙️ CodeRabbit configuration file

{src/services/api/**,src/integrations/**,src/utils/model/**,src/utils/provider*.ts,src/commands/provider/**}: Review provider routing, model selection, env precedence, auth/token handling, OpenAI-compatible shims, retries, proxy behavior, and outbound HTTP behavior with high scrutiny. Block on silent default changes, hidden fallback expansion, credential reuse mistakes, hardcoded provider assumptions, or new network reach that is not intentional and documented.

Files:

  • src/integrations/brands/nemotron.ts
  • src/utils/model/routeCatalogOptions.ts
  • src/integrations/gateways/gitlawb-opengateway.ts
  • src/utils/model/routeCatalogOptions.test.ts
  • src/integrations/models/nemotron.ts
**

⚙️ CodeRabbit configuration file

**: # Contributing to OpenClaude

Thanks for contributing.

OpenClaude is a fast-moving open-source coding-agent CLI with support for multiple providers, local backends, MCP, and a terminal-first workflow. The best contributions here are focused, well-tested, and easy to review.

Before You Start

  • Search existing issues and discussions before opening a new thread.
  • Check open pull requests for work that overlaps with your contribution. If a PR already exists that addresses the same change, open an issue or discussion first to align on direction — duplicate PRs may be closed without review.
  • Use issues for confirmed bugs and actionable feature work.
  • Use discussions for setup help, ideas, and general community conversation.
  • For larger changes, open an issue first so the scope is clear before implementation.
  • For security reports, follow SECURITY.md.

Pull Requests

Every PR needs a reason. Your PR description must include:

  • what changed and why
  • the user or developer impact
  • the exact checks you ran
  • a linked issue when one exists, using Fixes fix: skip assertMinVersion for third-party providers #123, `Closes `#123, or another clear link
  • screenshots when the PR touches UI, terminal presentation, or the VS Code extension
  • which provider path was tested when the PR changes provider behavior

The PR author is responsible for ensuring their PR is merge-ready. PRs with merge conflicts will not be reviewed or approved until the conflicts are resolved.

Issues are the recommended starting point for anything non-trivial — opening one first helps avoid wasted effort if the change is out of scope or already being worked on. Small fixes, doc corrections, and obvious improvements can stand on their own without a linked issue, as long as the PR description explains the intent.

What Gets Closed Without Review

PRs may be closed without review...

Files:

  • src/integrations/brands/nemotron.ts
  • src/utils/model/routeCatalogOptions.ts
  • src/integrations/gateways/gitlawb-opengateway.ts
  • src/utils/model/routeCatalogOptions.test.ts
  • src/integrations/models/nemotron.ts
  • src/commands/model/model.test.tsx
**/*.test.{ts,js}

📄 CodeRabbit inference engine (CONTRIBUTING.md)

Add or update tests when the change affects behavior

Files:

  • src/utils/model/routeCatalogOptions.test.ts
{src/**/*.test.ts,src/**/*.test.tsx,tests/**,scripts/**/*.test.ts,vscode-extension/**/*.test.js}

⚙️ CodeRabbit configuration file

{src/**/*.test.ts,src/**/*.test.tsx,tests/**,scripts/**/*.test.ts,vscode-extension/**/*.test.js}: Review tests for meaningful coverage of the changed behavior, isolation of global/env/config state, async cleanup, fake timers, provider profile leaks, and Windows-compatible assumptions. Block when risky runtime changes lack focused regression coverage or tests assert implementation details while missing the user-visible behavior.

Files:

  • src/utils/model/routeCatalogOptions.test.ts
  • src/commands/model/model.test.tsx
🧠 Learnings (1)
📚 Learning: 2026-06-04T23:13:58.119Z
Learnt from: CR
Repo: Gitlawb/openclaude PR: 0
File: CONTRIBUTING.md:0-0
Timestamp: 2026-06-04T23:13:58.119Z
Learning: Applies to **/providers/**/*.{ts,tsx,js} : Provider changes must explicitly state which providers are affected and test the exact provider/model path that was changed

Applied to files:

  • src/utils/model/routeCatalogOptions.test.ts
  • src/commands/model/model.test.tsx
🔇 Additional comments (6)
src/integrations/models/nemotron.ts (1)

4-21: LGTM!

src/integrations/brands/nemotron.ts (1)

16-16: LGTM!

src/integrations/gateways/gitlawb-opengateway.ts (1)

103-111: LGTM!

src/commands/model/model.test.tsx (1)

1278-1278: LGTM!

src/utils/model/routeCatalogOptions.ts (1)

18-20: LGTM!

src/utils/model/routeCatalogOptions.test.ts (1)

32-43: LGTM!


📝 Walkthrough

Walkthrough

This PR adds support for NVIDIA Nemotron 3 Ultra Free model through Gitlawb Opengateway. The changes define the new model variant with full capability support, register it in the brand and gateway configurations, enhance the description builder to surface catalog notes, and update tests to validate the new model appears in picker options.

Changes

Nemotron 3 Ultra Free Model Integration

Layer / File(s) Summary
Model definition and gateway registration
src/integrations/models/nemotron.ts, src/integrations/brands/nemotron.ts, src/integrations/gateways/gitlawb-opengateway.ts, src/commands/model/model.test.tsx
New Nemotron 3 Ultra (free) model defined with vision, streaming, function-calling, JSON-mode, and reasoning capabilities; 200k context window; 4k max output tokens. Model ID added to Nemotron brand. Gateway catalog entry created with Opengateway label and "Free" notes. Picker test updated to expect new model option.
Notes field support in descriptions
src/utils/model/routeCatalogOptions.ts, src/utils/model/routeCatalogOptions.test.ts
Description builder now appends trimmed entry.notes to model option descriptions. Test validates notes appear formatted as Free · Provider: Gitlawb Opengateway.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • Gitlawb/openclaude#1515: Both PRs extend the Gitlawb Opengateway catalog models and update the model picker test expectations, but add different model variants (Nemotron Free vs. MiniMax and Qwen).
🚥 Pre-merge checks | ✅ 4 | ❌ 3

❌ Failed checks (3 warnings)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is incomplete and lacks structured information required by the template. Expand description to include: summary (what/why changed), impact (user/developer), testing checkboxes with specifics, notes (provider/model path tested).
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Risk Surface Disclosed ⚠️ Warning PR touches provider routing and permissions (free endpoint bypasses credit gate). While code comments document risk, PR lacks explicit risk surface acknowledgment in Impact section per template. Review should explicitly call out the permission/access control change and assess whether it requires security approval or blocks merging.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: adding a Nemotron free model to the Opengateway integration.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
No Hidden Policy Change ✅ Passed PR transparently documents via comment that the endpoint "bills $0 and bypasses gateway credit gate." No hidden permission-policy, access-control, or routing-default changes in code.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@kevincodex1
kevincodex1 merged commit 03c8e22 into Twigpine:main Jun 5, 2026
3 checks passed
hotmanxp pushed a commit to hotmanxp/openclaude that referenced this pull request Jun 5, 2026
* feat(opengateway): NVIDIA Nemotron 3 Ultra free model

Add the OpenRouter :free Nemotron 3 Ultra endpoint (550B MoE, 1M
context, 65K output, tools + reasoning) to the opengateway catalog.
Bills $0 and bypasses the gateway credit gate, so it works for every
user — no credits or premium plan needed.

Co-Authored-By: OpenClaude <openclaude@gitlawb.com>

* feat(model): surface catalog notes as a picker tag; tag Nemotron free

Wire ModelCatalogEntry.notes into the route catalog description so the
Nemotron 3 Ultra entry shows "Free · Provider: Gitlawb Opengateway" in
the model picker.

Co-Authored-By: OpenClaude <openclaude@gitlawb.com>

---------

Co-authored-by: OpenClaude <openclaude@gitlawb.com>
deagwon97 pushed a commit to deagwon97/openclaude that referenced this pull request Jun 11, 2026
* feat(opengateway): NVIDIA Nemotron 3 Ultra free model

Add the OpenRouter :free Nemotron 3 Ultra endpoint (550B MoE, 1M
context, 65K output, tools + reasoning) to the opengateway catalog.
Bills $0 and bypasses the gateway credit gate, so it works for every
user — no credits or premium plan needed.

Co-Authored-By: OpenClaude <openclaude@gitlawb.com>

* feat(model): surface catalog notes as a picker tag; tag Nemotron free

Wire ModelCatalogEntry.notes into the route catalog description so the
Nemotron 3 Ultra entry shows "Free · Provider: Gitlawb Opengateway" in
the model picker.

Co-Authored-By: OpenClaude <openclaude@gitlawb.com>

---------

Co-authored-by: OpenClaude <openclaude@gitlawb.com>
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.

1 participant