Skip to content

feat: add NVIDIA NIM provider with streaming support#420

Open
zbinxp wants to merge 1 commit intoHKUDS:mainfrom
zbinxp:feat/nvidia-nim-provider
Open

feat: add NVIDIA NIM provider with streaming support#420
zbinxp wants to merge 1 commit intoHKUDS:mainfrom
zbinxp:feat/nvidia-nim-provider

Conversation

@zbinxp
Copy link
Copy Markdown
Contributor

@zbinxp zbinxp commented Apr 29, 2026

  • 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>
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

1 participant