(input: SessionIdRpcInput)
| 433 | } |
| 434 | |
| 435 | async getUsage(input: SessionIdRpcInput): Promise<SessionUsage> { |
| 436 | const rpc = await this.getRpc(); |
| 437 | return rpc.getUsage({ |
| 438 | sessionId: input.sessionId, |
| 439 | agentId: this.interactiveAgentId, |
| 440 | }); |
| 441 | } |
| 442 | |
| 443 | async getStatus(input: SessionIdRpcInput): Promise<SessionStatus> { |
| 444 | const rpc = await this.getRpc(); |