Skip to content

Commit 74b5891

Browse files
committed
Add comment back
1 parent f2436c1 commit 74b5891

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nemoguardrails/llm/models/langchain_initializer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ def init_langchain_model(
146146
ModelInitializer(_init_chat_completion_model, ["chat"]),
147147
# For chat mode, fall back to community chat models
148148
ModelInitializer(_init_community_chat_models, ["chat"]),
149-
# For text mode, use text completion
149+
# FIXME: is text and chat a good idea?
150+
# For text mode, use text completion, we are using both text and chat as the last resort
150151
ModelInitializer(_init_text_completion_model, ["text", "chat"]),
151152
]
152153

0 commit comments

Comments
 (0)