mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 12:48:38 +00:00
fix(session): preserve lastAccountId and lastThreadId on session reset
This commit is contained in:
@@ -338,6 +338,8 @@ export async function performGatewaySessionReset(params: {
|
|||||||
origin: snapshotSessionOrigin(currentEntry),
|
origin: snapshotSessionOrigin(currentEntry),
|
||||||
lastChannel: currentEntry?.lastChannel,
|
lastChannel: currentEntry?.lastChannel,
|
||||||
lastTo: currentEntry?.lastTo,
|
lastTo: currentEntry?.lastTo,
|
||||||
|
lastAccountId: currentEntry?.lastAccountId,
|
||||||
|
lastThreadId: currentEntry?.lastThreadId,
|
||||||
skillsSnapshot: currentEntry?.skillsSnapshot,
|
skillsSnapshot: currentEntry?.skillsSnapshot,
|
||||||
inputTokens: 0,
|
inputTokens: 0,
|
||||||
outputTokens: 0,
|
outputTokens: 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user