(
private readonly config: Config,
private readonly contentGenerator: ContentGenerator,
private readonly generationConfig: GenerateContentConfig = {},
private history: Content[] = [],
)
| 121 | private sendPromise: Promise<void> = Promise.resolve(); |
| 122 | |
| 123 | constructor( |
| 124 | private readonly config: Config, |
| 125 | private readonly contentGenerator: ContentGenerator, |
| 126 | private readonly generationConfig: GenerateContentConfig = {}, |
| 127 | private history: Content[] = [], |
| 128 | ) { |
| 129 | validateHistory(history); |
| 130 | } |
| 131 | |
| 132 | /** |
| 133 | * Handles falling back to Flash model when persistent 429 errors occur for OAuth users. |
nothing calls this directly
no test coverage detected