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

Function embedContent

out/cli.cjs:79571–79574  ·  view source on GitHub ↗
(apiKey, model, params, requestOptions)

Source from the content-addressed store, hash-verified

79569 });
79570 return streamPromise;
79571 }
79572};
79573async function countTokens(apiKey, model, params, singleRequestOptions) {
79574 const response = await makeModelRequest(model, Task.COUNT_TOKENS, apiKey, false, JSON.stringify(params), singleRequestOptions);
79575 return response.json();
79576}
79577async function embedContent(apiKey, model, params, requestOptions) {

Callers 1

embedContentMethod · 0.85

Calls 2

makeModelRequestFunction · 0.85
jsonMethod · 0.45

Tested by

no test coverage detected