MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / createOpenAI

Function createOpenAI

out/cli.cjs:77610–77613  ·  view source on GitHub ↗
(endpoint, credential, options = {})

Source from the content-addressed store, hash-verified

77608 const pathStart = mapKey.indexOf("/");
77609 return mapKey.slice(pathStart);
77610}
77611
77612// node_modules/@azure/openai/dist-esm/src/rest/index.js
77613var rest_default = createClient;
77614
77615// node_modules/@azure/openai/dist-esm/src/api/OpenAIContext.js
77616function createOpenAI(endpoint, credential, options = {}) {

Callers 1

constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected