arkii commited on
Commit
83ef88f
1 Parent(s): 2f769c6

Update chatglm_langchain.py

Browse files
Files changed (1) hide show
  1. 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: