We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cb7771 commit a5f27cbCopy full SHA for a5f27cb
nemoguardrails/llm/providers/_langchain_nvidia_ai_endpoints_patch.py
@@ -28,7 +28,7 @@
28
log = logging.getLogger(__name__)
29
30
31
-def stream_decorator(func):
+def stream_decorator(func): # pragma: no cover
32
@wraps(func)
33
def wrapper(
34
self,
@@ -52,7 +52,7 @@ def wrapper(
52
53
# NOTE: this needs to have the same name as the original class,
54
# otherwise, there's a check inside `langchain-nvidia-ai-endpoints` that will fail.
55
-class ChatNVIDIA(ChatNVIDIAOriginal):
+class ChatNVIDIA(ChatNVIDIAOriginal): # pragma: no cover
56
streaming: bool = Field(
57
default=False, description="Whether to use streaming or not"
58
)
0 commit comments