mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-30 07:39:06 +08:00
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:
parent
942e014d92
commit
425f81a882
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user