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

Function operationOptionsToRequestParameters

out/cli.cjs:77211–77224  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

77209function getCachedDefaultHttpsClient() {
77210 if (!cachedHttpClient) {
77211 cachedHttpClient = createDefaultHttpClient();
77212 }
77213 return cachedHttpClient;
77214}
77215
77216// node_modules/@azure-rest/core-client/dist/esm/operationOptionHelpers.js
77217function operationOptionsToRequestParameters(options) {
77218 var _a5, _b2, _c2, _d2, _e2, _f;
77219 return {
77220 allowInsecureConnection: (_a5 = options.requestOptions) === null || _a5 === void 0 ? void 0 : _a5.allowInsecureConnection,
77221 timeout: (_b2 = options.requestOptions) === null || _b2 === void 0 ? void 0 : _b2.timeout,
77222 skipUrlEncoding: (_c2 = options.requestOptions) === null || _c2 === void 0 ? void 0 : _c2.skipUrlEncoding,
77223 abortSignal: options.abortSignal,
77224 onUploadProgress: (_d2 = options.requestOptions) === null || _d2 === void 0 ? void 0 : _d2.onUploadProgress,
77225 onDownloadProgress: (_e2 = options.requestOptions) === null || _e2 === void 0 ? void 0 : _e2.onDownloadProgress,
77226 tracingOptions: options.tracingOptions,
77227 headers: Object.assign({}, (_f = options.requestOptions) === null || _f === void 0 ? void 0 : _f.headers),

Callers 6

getAudioTranscriptionFunction · 0.85
getAudioTranslationFunction · 0.85
_getCompletionsSendFunction · 0.85
_getChatCompletionsSendFunction · 0.85
_getImageGenerationsSendFunction · 0.85
_getEmbeddingsSendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…