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

Method cancel

packages/node-sdk/src/session.ts:183–186  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181 }
182
183 async cancel(): Promise<void> {
184 this.ensureOpen();
185 await this.rpc.cancel({ sessionId: this.id });
186 }
187
188 async setModel(model: string): Promise<void> {
189 this.ensureOpen();

Callers

nothing calls this directly

Calls 2

ensureOpenMethod · 0.95
cancelMethod · 0.65

Tested by

no test coverage detected