Update chatglm_langchain.py
Browse files- chatglm_langchain.py +1 -0
chatglm_langchain.py
CHANGED
|
@@ -31,6 +31,7 @@ class ChatGLM(LLM):
|
|
| 31 |
run_manager: Optional[CallbackManagerForLLMRun] = None, ) -> str:
|
| 32 |
if stop is not None:
|
| 33 |
raise ValueError("stop kwargs are not permitted.")
|
|
|
|
| 34 |
history = [prompt]
|
| 35 |
response = ""
|
| 36 |
if self.streaming:
|
|
|
|
| 31 |
run_manager: Optional[CallbackManagerForLLMRun] = None, ) -> str:
|
| 32 |
if stop is not None:
|
| 33 |
raise ValueError("stop kwargs are not permitted.")
|
| 34 |
+
print("Prompt: ", prompt)
|
| 35 |
history = [prompt]
|
| 36 |
response = ""
|
| 37 |
if self.streaming:
|