mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-07-09 17:19:02 +00:00
fix(daemon): keep artifact side records out of resume leaf
This commit is contained in:
parent
e3096bd492
commit
42c19ccfa3
1 changed files with 6 additions and 0 deletions
|
|
@ -1025,7 +1025,13 @@ export class SessionService {
|
|||
}
|
||||
|
||||
// Reconstruct linear history
|
||||
const leafUuid = this.lastConversationRecordUuid(records);
|
||||
if (!leafUuid) {
|
||||
return;
|
||||
}
|
||||
|
||||
const { messages, gaps } = this.reconstructHistory(records, {
|
||||
leafUuid,
|
||||
detectGaps: true,
|
||||
});
|
||||
if (messages.length === 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue