tango-app-api-audio-analytics 1.0.27 → 1.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-api-audio-analytics",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "description": "audioAnalytics",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -253,7 +253,7 @@ export async function chatHistoryList( req, res ) {
253
253
  _source: [ 'session_id', 'session_title' ], // Only fetch required fields
254
254
  size: Number( limit ),
255
255
  from: Number( offset ),
256
- sort: [ { session_date: { order: 'desc' } } ], // Sort by creation date, most recent first
256
+ sort: [ { _id: { order: 'desc' } } ], // Sort by creation date, most recent first
257
257
  };
258
258
 
259
259
  // Search in tango-ai-session index
@@ -458,7 +458,7 @@ Only return the JSON array, no other text.`;
458
458
  const CHAT_STREAM_API = 'http://65.2.124.154:8000/api/chat/stream';
459
459
  const AUDIO_STREAM_API = 'http://65.2.124.154:8000/api/chat/audio/cohort';
460
460
  const EYE_TEST_STREAM_API = 'http://65.2.124.154:8000/api/chat/pet';
461
- const CONVERSATION_STREAM_API = 'http://65.2.124.154:8000/api/chat/audio/transcript';
461
+ const CONVERSATION_STREAM_API = 'http://65.2.124.154:8000/api/chat/audio/transcript';
462
462
 
463
463
 
464
464
  /**