MCPcopy Create free account
hub / github.com/Superflows-AI/superflows / logPrompt

Function logPrompt

lib/utils.ts:626–630  ·  view source on GitHub ↗
(prompt: ChatGPTMessage[])

Source from the content-addressed store, hash-verified

624}
625
626export function logPrompt(prompt: ChatGPTMessage[]): void {
627 console.log(
628 prompt.map((p) => `${p.role.toUpperCase()}\n${p.content}`).join("\n\n"),
629 );
630}
631
632export function range(start: number, end?: number): number[] {
633 /** Identical to basic usage of the Python range() function **/

Callers 6

BertieFunction · 0.90
AngelaFunction · 0.90
CassiusFunction · 0.90
matchQuestionToAnswerFunction · 0.90
executeMessagesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected