File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
nemoguardrails/llm/providers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2525from langchain_nvidia_ai_endpoints import ChatNVIDIA as ChatNVIDIAOriginal
2626from pydantic import Field
2727
28- log = logging .getLogger (__name__ )
28+ log = logging .getLogger (__name__ ) # pragma: no cover
2929
3030
31- def stream_decorator (func ):
31+ def stream_decorator (func ): # pragma: no cover
3232 @wraps (func )
3333 def wrapper (
3434 self ,
@@ -52,7 +52,7 @@ def wrapper(
5252
5353# NOTE: this needs to have the same name as the original class,
5454# otherwise, there's a check inside `langchain-nvidia-ai-endpoints` that will fail.
55- class ChatNVIDIA (ChatNVIDIAOriginal ):
55+ class ChatNVIDIA (ChatNVIDIAOriginal ): # pragma: no cover
5656 streaming : bool = Field (
5757 default = False , description = "Whether to use streaming or not"
5858 )
You can’t perform that action at this time.
0 commit comments