forked from Chatbot/v3-api
threads now support suggested_questions
This commit is contained in:
@@ -67,6 +67,7 @@ export class SessionModel extends Document {
|
||||
react: { type: String, default: 'Nothing' },
|
||||
runId: { type: String, required: false },
|
||||
aiStatus: { type: String, required: false },
|
||||
suggested_questions: { type: [String], required: false, default: undefined },
|
||||
escalation: { type: Object, required: false },
|
||||
createdAt: { type: [String], required: true }, // [time, date]
|
||||
createdISO: { type: Date, required: true },
|
||||
@@ -104,6 +105,7 @@ export class SessionModel extends Document {
|
||||
edited: boolean;
|
||||
runId?: string;
|
||||
aiStatus?: string;
|
||||
suggested_questions?: string[];
|
||||
escalation?: {
|
||||
summary?: string;
|
||||
handoff_context?: Record<string, unknown>;
|
||||
|
||||
Reference in New Issue
Block a user