(params)
| 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 | } |
| 79370 | function formatEmbedContentInput(params) { |
| 79371 | if (typeof params === "string" || Array.isArray(params)) { |
| 79372 | const content = formatNewContent(params); |
| 79373 | return { content }; |
no test coverage detected
searching dependent graphs…