@hivegpt/hiveai-angular 0.0.451 → 0.0.453

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.
@@ -2479,9 +2479,11 @@
2479
2479
  else if ((_k = res === null || res === void 0 ? void 0 : res.m) === null || _k === void 0 ? void 0 : _k.OtherFields) {
2480
2480
  var otherFields = res.m.OtherFields;
2481
2481
  var serializable = otherFields.serializable_to_return;
2482
- // Session cards: get_event_sessions (JSON) or get_event_sessions_v2 (JSON or plain text)
2482
+ // Session cards: event sessions tools (JSON or plain text)
2483
2483
  var isSessionTool = (serializable === null || serializable === void 0 ? void 0 : serializable.tool_name) === 'get_event_sessions' ||
2484
- (serializable === null || serializable === void 0 ? void 0 : serializable.tool_name) === 'get_event_sessions_v2';
2484
+ (serializable === null || serializable === void 0 ? void 0 : serializable.tool_name) === 'get_event_sessions_v2' ||
2485
+ (serializable === null || serializable === void 0 ? void 0 : serializable.tool_name) === 'get_sessions_by_interest' ||
2486
+ (serializable === null || serializable === void 0 ? void 0 : serializable.tool_name) === 'get_sessions_by_track';
2485
2487
  if (isSessionTool) {
2486
2488
  var contentStr = (_o = (_m = (_l = serializable === null || serializable === void 0 ? void 0 : serializable.tool_result) === null || _l === void 0 ? void 0 : _l.messages) === null || _m === void 0 ? void 0 : _m[0]) === null || _o === void 0 ? void 0 : _o.content;
2487
2489
  var answerText = otherFields.answer != null ? String(otherFields.answer).trim() : '';
@@ -2843,9 +2845,12 @@
2843
2845
  });
2844
2846
  }
2845
2847
  if (chat.Type == 'ai') {
2846
- // If this AI message came from get_event_sessions / get_event_sessions_v2, show session cards instead of plain text
2848
+ // If this AI message came from session tools, show session cards instead of plain text
2847
2849
  var toolName = (_a = chat.toolresults) === null || _a === void 0 ? void 0 : _a.tool_name;
2848
- var isSessionTool = toolName === 'get_event_sessions' || toolName === 'get_event_sessions_v2';
2850
+ var isSessionTool = toolName === 'get_event_sessions' ||
2851
+ toolName === 'get_event_sessions_v2' ||
2852
+ toolName === 'get_sessions_by_interest' ||
2853
+ toolName === 'get_sessions_by_track';
2849
2854
  if (isSessionTool && ((_e = (_d = (_c = (_b = chat.toolresults) === null || _b === void 0 ? void 0 : _b.tool_result) === null || _c === void 0 ? void 0 : _c.messages) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.content)) {
2850
2855
  var contentStr = chat.toolresults.tool_result.messages[0].content;
2851
2856
  var sessions = [];