fix(MessageService): update default message status to 'pending'

- Changed the default status for messages from 'success' to 'pending' to better reflect the message processing state. This aligns with recent updates to the MessageStatus type.
This commit is contained in:
fullex 2025-12-28 21:34:41 +08:00
parent 942e014d92
commit 425f81a882

View File

@ -383,7 +383,7 @@ export class MessageService {
parentId: dto.parentId,
role: dto.role,
data: dto.data,
status: dto.status || 'success',
status: dto.status ?? 'pending',
siblingsGroupId: dto.siblingsGroupId ?? 0,
assistantId: dto.assistantId,
assistantMeta: dto.assistantMeta,