Skip to content

Commit fd86a70

Browse files
Pouyanpitgasser-nv
authored andcommitted
fix(models): suppress langchain_nvidia_ai_endpoints warnings (#1371)
1 parent e89723a commit fd86a70

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nemoguardrails/llm/models/langchain_initializer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
# Suppress specific LangChain warnings
3939
warnings.filterwarnings("ignore", category=LangChainDeprecationWarning)
4040
warnings.filterwarnings("ignore", category=LangChainBetaWarning)
41+
warnings.filterwarnings("ignore", module="langchain_nvidia_ai_endpoints._common")
4142

4243

4344
class ModelInitializationError(Exception):

0 commit comments

Comments
 (0)