MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / ensureCleanState

Method ensureCleanState

src/api/providers/vscode-lm.ts:310–316  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

308 }
309
310 private ensureCleanState(): void {
311 if (this.currentRequestCancellation) {
312 this.currentRequestCancellation.cancel()
313 this.currentRequestCancellation.dispose()
314 this.currentRequestCancellation = null
315 }
316 }
317
318 private async getClient(): Promise<vscode.LanguageModelChat> {
319 if (!this.client) {

Callers 2

constructorMethod · 0.95
createMessageMethod · 0.95

Calls 2

disposeMethod · 0.65
cancelMethod · 0.45

Tested by

no test coverage detected