mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-05-16 01:12:46 +00:00
refactor: update session status only if not stopped by user after stream completion
This commit is contained in:
@@ -125,6 +125,7 @@ export abstract class BaseSdkProvider extends AbstractProvider {
|
||||
}
|
||||
}
|
||||
|
||||
// after stream completion, only update status if not already stopped by user
|
||||
if (session.status === 'running') {
|
||||
this.updateSessionStatus(session, 'completed');
|
||||
this.appendEvent(session, {
|
||||
|
||||
Reference in New Issue
Block a user