Update app.py
Browse files
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")
|