(chatKey: string, tag: string)
| 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(); |
no test coverage detected