@okf/ootils 1.34.0 → 1.35.0

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/dist/node.d.mts CHANGED
@@ -2312,6 +2312,7 @@ interface IAIChat extends Document {
2312
2312
  widgetAskAICacheKey?: string;
2313
2313
  immutableActiveFilters?: any;
2314
2314
  immutableContentTypes?: string[];
2315
+ aiChatAgent?: "v1_singleMultiIntent" | "v2_reactAgent";
2315
2316
  }
2316
2317
  declare const AIChatSchema: mongoose__default.Schema<IAIChat, mongoose__default.Model<IAIChat, any, any, any, mongoose__default.Document<unknown, any, IAIChat, any, {}> & IAIChat & Required<{
2317
2318
  _id: mongoose__default.Types.ObjectId;
package/dist/node.d.ts CHANGED
@@ -2312,6 +2312,7 @@ interface IAIChat extends Document {
2312
2312
  widgetAskAICacheKey?: string;
2313
2313
  immutableActiveFilters?: any;
2314
2314
  immutableContentTypes?: string[];
2315
+ aiChatAgent?: "v1_singleMultiIntent" | "v2_reactAgent";
2315
2316
  }
2316
2317
  declare const AIChatSchema: mongoose__default.Schema<IAIChat, mongoose__default.Model<IAIChat, any, any, any, mongoose__default.Document<unknown, any, IAIChat, any, {}> & IAIChat & Required<{
2317
2318
  _id: mongoose__default.Types.ObjectId;
package/dist/node.js CHANGED
@@ -1181,6 +1181,14 @@ var init_AIChat = __esm({
1181
1181
  type: [String],
1182
1182
  default: void 0
1183
1183
  },
1184
+ // Locked AI Chat agent version for this conversation. Set on chat creation.
1185
+ // v1_singleMultiIntent = legacy single/multi-intent pipeline.
1186
+ // v2_reactAgent = ReAct agent.
1187
+ aiChatAgent: {
1188
+ type: String,
1189
+ enum: ["v1_singleMultiIntent", "v2_reactAgent"],
1190
+ default: void 0
1191
+ },
1184
1192
  messages: [
1185
1193
  {
1186
1194
  id: String,
package/dist/node.mjs CHANGED
@@ -1186,6 +1186,14 @@ var init_AIChat = __esm({
1186
1186
  type: [String],
1187
1187
  default: void 0
1188
1188
  },
1189
+ // Locked AI Chat agent version for this conversation. Set on chat creation.
1190
+ // v1_singleMultiIntent = legacy single/multi-intent pipeline.
1191
+ // v2_reactAgent = ReAct agent.
1192
+ aiChatAgent: {
1193
+ type: String,
1194
+ enum: ["v1_singleMultiIntent", "v2_reactAgent"],
1195
+ default: void 0
1196
+ },
1189
1197
  messages: [
1190
1198
  {
1191
1199
  id: String,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.34.0",
6
+ "version": "1.35.0",
7
7
  "description": "Utility functions for both browser and Node.js",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.mjs",