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

Method getAudioTranslation

out/cli.cjs:78580–78588  ·  view source on GitHub ↗
(deploymentName, fileContent, formatOrOptions, inputOptions)

Source from the content-addressed store, hash-verified

78578 }));
78579 }
78580 setModel(model, options) {
78581 if (!this._isAzure) {
78582 options.model = model;
78583 }
78584 }
78585 // implementation
78586 async getAudioTranslation(deploymentName, fileContent, formatOrOptions, inputOptions) {
78587 const options = inputOptions !== null && inputOptions !== void 0 ? inputOptions : typeof formatOrOptions === "string" ? {} : formatOrOptions !== null && formatOrOptions !== void 0 ? formatOrOptions : {};
78588 const response_format = typeof formatOrOptions === "string" ? formatOrOptions : void 0;
78589 this.setModel(deploymentName, options);
78590 if (response_format === void 0) {
78591 return getAudioTranslation(this._client, deploymentName, fileContent, options);

Callers

nothing calls this directly

Calls 2

getAudioTranslationFunction · 0.85
setModelMethod · 0.80

Tested by

no test coverage detected