* Makes a single non-streaming call to the model * and returns an object containing a single GenerateContentResponse. * * Fields set in the optional SingleRequestOptions parameter will * take precedence over the RequestOptions values provided to * {@link Google
(request3, requestOptions = {})
| 79604 | /** |
| 79605 | * Makes a single non-streaming call to the model |
| 79606 | * and returns an object containing a single {@link GenerateContentResponse}. |
| 79607 | * |
| 79608 | * Fields set in the optional {@link SingleRequestOptions} parameter will |
| 79609 | * take precedence over the {@link RequestOptions} values provided to |
| 79610 | * {@link GoogleGenerativeAI.getGenerativeModel }. |
| 79611 | */ |
| 79612 | async generateContent(request3, requestOptions = {}) { |
| 79613 | var _a5; |
| 79614 | const formattedParams = formatGenerateContentInput(request3); |
no test coverage detected