MCPcopy
hub / github.com/di-sukharev/opencommit / generateContent

Method generateContent

out/cli.cjs:79606–79611  ·  view source on GitHub ↗

* 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 = {})

Source from the content-addressed store, hash-verified

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);

Callers 2

generateCommitMessageMethod · 0.80
generateCommitMessageMethod · 0.80

Calls 2

generateContentFunction · 0.85

Tested by

no test coverage detected