fix: expose abort signal to extensions closes #2660
This commit is contained in:
@@ -2219,6 +2219,7 @@ export class AgentSession {
|
||||
{
|
||||
getModel: () => this.model,
|
||||
isIdle: () => !this.isStreaming,
|
||||
getSignal: () => this.agent.signal,
|
||||
abort: () => this.abort(),
|
||||
hasPendingMessages: () => this.pendingMessageCount > 0,
|
||||
shutdown: () => {
|
||||
|
||||
Reference in New Issue
Block a user