Skip to content

Conversation

Pouyanpi
Copy link
Collaborator

@Pouyanpi Pouyanpi commented Sep 3, 2025

suppress langchain_nvidia_ai_endpoints warnings

irtualenvs/nemoguardrails-O6aG79rF-py3.12/lib/python3.12/site-packages/langchain_nvidia_ai_endpoints/_common.py:212: UserWarning: Found nvidia/llama-3.1-nemoguard-8b-content-safety in available_models, but type is unknown and inference may fail.
  warnings.warn(
/Users/prezakhani/Library/Caches/pypoetry/virtualenvs/nemoguardrails-O6aG79rF-py3.12/lib/python3.12/site-packages/langchain_nvidia_ai_endpoints/_common.py:212: UserWarning: Found nvidia/llama-3.1-nemoguard-8b-topic-control in available_models, but type is unknown and inference may fail.
  warnings.warn(

@Pouyanpi Pouyanpi self-assigned this Sep 3, 2025
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.62%. Comparing base (960e0b8) to head (234715a).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1371   +/-   ##
========================================
  Coverage    71.62%   71.62%           
========================================
  Files          171      171           
  Lines        17020    17021    +1     
========================================
+ Hits         12191    12192    +1     
  Misses        4829     4829           
Flag Coverage Δ
python 71.62% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
nemoguardrails/llm/models/langchain_initializer.py 89.60% <100.00%> (+0.08%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Collaborator

@tgasser-nv tgasser-nv left a comment

Choose a reason for hiding this comment

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

Thanks for the quick fix, this will clean up the logs nicely

@tgasser-nv tgasser-nv merged commit 92fe37c into develop Sep 4, 2025
22 of 23 checks passed
@tgasser-nv tgasser-nv deleted the fix/topic-control-warning branch September 4, 2025 16:25
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.

3 participants