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

Function formatEmbedContentInput

out/cli.cjs:79364–79370  ·  view source on GitHub ↗
(params)

Source from the content-addressed store, hash-verified

79362 const content = formatNewContent(params);
79363 formattedRequest = { contents: [content] };
79364 }
79365 if (params.systemInstruction) {
79366 formattedRequest.systemInstruction = formatSystemInstruction(params.systemInstruction);
79367 }
79368 return formattedRequest;
79369}
79370function formatEmbedContentInput(params) {
79371 if (typeof params === "string" || Array.isArray(params)) {
79372 const content = formatNewContent(params);
79373 return { content };

Callers 1

embedContentMethod · 0.85

Calls 1

formatNewContentFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…