MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / getImages

Method getImages

out/cli.cjs:78641–78645  ·  view source on GitHub ↗

Creates an image given a prompt.

(deploymentName, prompt, options = { requestOptions: {} })

Source from the content-addressed store, hash-verified

78639 * @param options - The chat completions options for this chat completions request.
78640 * @returns An asynchronous iterable of chat completions tokens.
78641 */
78642 streamChatCompletions(deploymentName, messages, options = { requestOptions: {} }) {
78643 this.setModel(deploymentName, options);
78644 return streamChatCompletions(this._client, deploymentName, messages, options);
78645 }
78646 /** Creates an image given a prompt. */
78647 getImages(deploymentName, prompt, options = { requestOptions: {} }) {
78648 this.setModel(deploymentName, options);

Callers

nothing calls this directly

Calls 3

__restFunction · 0.85
getImageGenerationsFunction · 0.85
setModelMethod · 0.80

Tested by

no test coverage detected