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 e30d1e3 commit 227ec36Copy full SHA for 227ec36
gpt_server/model_worker/chatglm.py
@@ -95,7 +95,7 @@ async def generate_stream_gate(self, params):
95
params["prompt"] = text
96
params["input_ids"] = input_ids
97
# ---------------添加额外的参数------------------------
98
- params["messages"] = messages
+ params["messages"] = text
99
params["stop"].extend(self.stop)
100
params["stop_words_ids"] = self.stop_words_ids
101
0 commit comments