@@ -963,6 +963,7 @@ async def stream_chat_request(request_body, request_headers):
963
963
if client_id is None :
964
964
return jsonify ({"error" : "No client ID provided" }), 400
965
965
query = request_body .get ("messages" )[- 1 ].get ("content" )
966
+ query = query .strip ()
966
967
967
968
async def generate ():
968
969
deltaText = ""
@@ -1546,12 +1547,12 @@ def get_users():
1546
1547
ClientSummary,
1547
1548
CAST(LastMeeting AS DATE) AS LastMeetingDate,
1548
1549
FORMAT(CAST(LastMeeting AS DATE), 'dddd MMMM d, yyyy') AS LastMeetingDateFormatted,
1549
- FORMAT(LastMeeting, 'hh :mm tt ') AS LastMeetingStartTime,
1550
- FORMAT(LastMeetingEnd, 'hh :mm tt ') AS LastMeetingEndTime,
1550
+ FORMAT(LastMeeting, 'HH :mm ') AS LastMeetingStartTime,
1551
+ FORMAT(LastMeetingEnd, 'HH :mm') AS LastMeetingEndTime,
1551
1552
CAST(NextMeeting AS DATE) AS NextMeetingDate,
1552
1553
FORMAT(CAST(NextMeeting AS DATE), 'dddd MMMM d, yyyy') AS NextMeetingFormatted,
1553
- FORMAT(NextMeeting, 'hh :mm tt ') AS NextMeetingStartTime,
1554
- FORMAT(NextMeetingEnd, 'hh :mm tt ') AS NextMeetingEndTime
1554
+ FORMAT(NextMeeting, 'HH :mm') AS NextMeetingStartTime,
1555
+ FORMAT(NextMeetingEnd, 'HH :mm') AS NextMeetingEndTime
1555
1556
FROM (
1556
1557
SELECT ca.ClientId, Client, Email, AssetValue, ClientSummary, LastMeeting, LastMeetingEnd, NextMeeting, NextMeetingEnd
1557
1558
FROM (
0 commit comments