@promptbook/remote-client
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
12 lines (11 loc) • 510 B
TypeScript
/**
* Removes comment lines (lines starting with #) from a system message
* This is used to clean up the final system message before sending it to the AI model
* while preserving the original content with comments in metadata
*
* @param systemMessage The system message that may contain comment lines
* @returns The system message with comment lines removed
*
* @private - TODO: [🧠] Maybe should be public?
*/
export declare function removeCommentsFromSystemMessage(systemMessage: string): string;