Skip to content

Commit 0f01a05

Browse files
committed
fix model_name type hint
1 parent 7ad7e60 commit 0f01a05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nemoguardrails/llm/models/langchain_initializer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def try_initialization_method(
117117

118118

119119
def init_langchain_model(
120-
model_name: Optional[str],
120+
model_name: str,
121121
provider_name: str,
122122
mode: Literal["chat", "text"],
123123
kwargs: Dict[str, Any],

0 commit comments

Comments
 (0)