radinhas commited on
Commit
646b59b
1 Parent(s): 453b80e

Update apis/chat_api.py

Browse files
Files changed (1) hide show
  1. apis/chat_api.py +1 -1
apis/chat_api.py CHANGED
@@ -202,7 +202,7 @@ class ChatAPIApp:
202
  if status_code == 200:
203
  result = stream.json()
204
  else:
205
- result = 'unknown error'
206
 
207
  item_response = {
208
  "statue": status_code,
 
202
  if status_code == 200:
203
  result = stream.json()
204
  else:
205
+ result = stream.text
206
 
207
  item_response = {
208
  "statue": status_code,