MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / getTurns

Method getTurns

deepwiki/deepwiki.ts:349–353  ·  view source on GitHub ↗
(chatKey: string, tag: string)

Source from the content-addressed store, hash-verified

347 }
348
349 async getTurns(chatKey: string, tag: string): Promise<ContextTurn[]> {
350 this.ensureReady();
351 const ctx = await this.ensureCtxChat(chatKey);
352 return (ctx.contextTurns?.[tag] || []).slice();
353 }
354
355 async getTelegraphToken(): Promise<string> {
356 this.ensureReady();

Callers 1

DeepWikiPluginClass · 0.80

Calls 2

ensureReadyMethod · 0.95
ensureCtxChatMethod · 0.95

Tested by

no test coverage detected