()
| 580 | }; |
| 581 | |
| 582 | const apiCall = () => |
| 583 | this.getContentGenerator().generateContent( |
| 584 | { |
| 585 | model: modelToUse, |
| 586 | config: { |
| 587 | ...requestConfig, |
| 588 | systemInstruction, |
| 589 | responseJsonSchema: schema, |
| 590 | responseMimeType: 'application/json', |
| 591 | }, |
| 592 | contents, |
| 593 | }, |
| 594 | this.lastPromptId, |
| 595 | ); |
| 596 | |
| 597 | const result = await retryWithBackoff(apiCall, { |
| 598 | onPersistent429: async (authType?: string, error?: unknown) => |
nothing calls this directly
no test coverage detected