MCPcopy Create free account
hub / github.com/Noumena-Network/code / prependBullets

Function prependBullets

src/constants/prompts.ts:169–175  ·  view source on GitHub ↗
(items: Array<string | string[]>)

Source from the content-addressed store, hash-verified

167}
168
169export function prependBullets(items: Array<string | string[]>): string[] {
170 return items.flatMap(item =>
171 Array.isArray(item)
172 ? item.map(subitem => ` - ${subitem}`)
173 : [` - ${item}`],
174 )
175}
176
177function getSimpleIntroSection(
178 outputStyleConfig: OutputStyleConfig | null,

Callers 8

getSimpleSandboxSectionFunction · 0.85
getSimplePromptFunction · 0.85
getSimpleSystemSectionFunction · 0.85
getUsingYourToolsSectionFunction · 0.85
computeSimpleEnvInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected