Skip to content

feat: add NVIDIA NIM provider with streaming support#420

Merged
pancacake merged 1 commit into
HKUDS:devfrom
zbinxp:feat/nvidia-nim-provider
Apr 30, 2026
Merged

feat: add NVIDIA NIM provider with streaming support#420
pancacake merged 1 commit into
HKUDS:devfrom
zbinxp:feat/nvidia-nim-provider

Conversation

@zbinxp

@zbinxp zbinxp commented Apr 29, 2026

Copy link
Copy Markdown
Contributor
  • Add nvidia_nim provider to the registry (is_gateway, detect_by_key_prefix=nvapi-, detect_by_base_keyword=api.nvidia.com, default_api_base=https://integrate.api.nvidia.com/v1)
  • Add supports_stream_options field to ProviderSpec (defaults True, preserves existing provider behavior)
  • Set supports_stream_options=False for nvidia_nim — NVIDIA NIM silently hangs when stream_options={"include_usage": True} is sent, so we omit it for this provider

Description

Related Issues

Module(s) Affected

  • agents
  • api
  • config
  • core
  • knowledge
  • logging
  • services
  • tools
  • utils
  • web (Frontend)
  • docs (Documentation)
  • scripts
  • tests
  • Other: ...

Checklist

  • I have read and followed the contribution guidelines.
  • My code follows the project's coding standards.
  • I have run pre-commit run --all-files and fixed any issues.
  • I have added relevant tests for my changes.
  • I have updated the documentation (if necessary).
  • My changes do not introduce any new security vulnerabilities.

Additional Notes

Add any other context or screenshots about the pull request here.

- Add nvidia_nim provider to the registry (is_gateway, detect_by_key_prefix=nvapi-,
  detect_by_base_keyword=api.nvidia.com, default_api_base=https://integrate.api.nvidia.com/v1)
- Add supports_stream_options field to ProviderSpec (defaults True, preserves existing
  provider behavior)
- Set supports_stream_options=False for nvidia_nim — NVIDIA NIM silently hangs when
  stream_options={"include_usage": True} is sent, so we omit it for this provider

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@pancacake pancacake changed the base branch from main to dev April 30, 2026 14:38
@pancacake

Copy link
Copy Markdown
Collaborator

Thanks for your contribution!

@pancacake pancacake merged commit 193b71b into HKUDS:dev Apr 30, 2026
4 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.

[Feature Request]:Add NVIDIA NIM API support

2 participants