mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-26 09:21:55 +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),
|
||||
lastChannel: currentEntry?.lastChannel,
|
||||
lastTo: currentEntry?.lastTo,
|
||||
lastAccountId: currentEntry?.lastAccountId,
|
||||
lastThreadId: currentEntry?.lastThreadId,
|
||||
skillsSnapshot: currentEntry?.skillsSnapshot,
|
||||
inputTokens: 0,
|
||||
outputTokens: 0,
|
||||
|
||||
Reference in New Issue
Block a user