(systemPrompt: string, userPrompt: string)
| 8 | } |
| 9 | |
| 10 | async compress(systemPrompt: string, userPrompt: string): Promise<string> { |
| 11 | return this.tryAll((p) => p.compress(systemPrompt, userPrompt)); |
| 12 | } |
| 13 | |
| 14 | async summarize(systemPrompt: string, userPrompt: string): Promise<string> { |
| 15 | return this.tryAll((p) => p.summarize(systemPrompt, userPrompt)); |