mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-12 00:49:14 +08:00
- Updated CreateMessageDto to include detailed behavior for the parentId field, allowing for auto-resolution based on topic state, explicit root creation, or attachment to a specified parent message. - Refactored MessageService to implement the new parentId logic, ensuring proper validation and error handling for message creation based on the topic's current state and existing messages. - Enhanced transaction safety and clarity in the message insertion process by resolving parentId before inserting new messages. |
||
|---|---|---|
| .. | ||
| agents/claudecode | ||
| anthropic | ||
| config | ||
| data | ||
| IpcChannel.ts | ||
| utils.ts | ||