Spaces:
Runtime error
Runtime error
Update chatllm.py
Browse files- chatllm.py +1 -1
chatllm.py
CHANGED
@@ -98,7 +98,7 @@ class ChatLLM(LLM):
|
|
98 |
"frequency_penalty":0
|
99 |
}
|
100 |
|
101 |
-
response = requests.post(
|
102 |
result = response.choice[0].text
|
103 |
|
104 |
# 将当次的ai回复内容加入history
|
|
|
98 |
"frequency_penalty":0
|
99 |
}
|
100 |
|
101 |
+
response = requests.post(OPENAI_URL, headers=headers, json=payload)
|
102 |
result = response.choice[0].text
|
103 |
|
104 |
# 将当次的ai回复内容加入history
|