MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / cancel

Function cancel

packages/node-sdk/src/rpc.ts:306–313  ·  view source on GitHub ↗
(input: SessionIdRpcInput)

Source from the content-addressed store, hash-verified

304 }
305
306 async cancel(input: SessionIdRpcInput): Promise<void> {
307 const agentId = this.interactiveAgentId;
308 const rpc = await this.getRpc();
309 return rpc.cancel({
310 sessionId: input.sessionId,
311 agentId,
312 });
313 }
314
315 async setModel(input: SetSessionModelRpcInput): Promise<SetSessionModelRpcResult> {
316 const rpc = await this.getRpc();

Callers 1

completeMethod · 0.50

Calls 2

cancelMethod · 0.65
getRpcMethod · 0.45

Tested by

no test coverage detected