(prompt: FunctionPrompt)
| 33 | }).join('\n'); |
| 34 | } |
| 35 | export function functionPromptToString(prompt: FunctionPrompt): string { |
| 36 | return prompt.functions.map((func) => { |
| 37 | JSON.stringify(func); |
| 38 | }).join('\n'); |
| 39 | } |
| 40 | const OPENAI_SPECIAL_TOKENS = [ |
| 41 | "<|im_start|>", |
| 42 | "<|im_sep|>", |
nothing calls this directly
no outgoing calls
no test coverage detected