ChenyuRabbitLove commited on
Commit
7cdd9fa
1 Parent(s): 9881b92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -25,6 +25,7 @@ def chat_completion_request(messages, tools=None, tool_choice=None):
25
  tools=tools,
26
  tool_choice=tool_choice,
27
  )
 
28
  return response
29
  except Exception as e:
30
  print("Unable to generate ChatCompletion response")
 
25
  tools=tools,
26
  tool_choice=tool_choice,
27
  )
28
+ print(response.choices[0].message.content)
29
  return response
30
  except Exception as e:
31
  print("Unable to generate ChatCompletion response")