threads now support suggested_questions

This commit is contained in:
2026-09-09 16:40:42 +03:30
parent 0234abd082
commit 49e67b3a82
7 changed files with 103 additions and 3 deletions

View File

@@ -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>;