UNPKG

@promptbook/remote-client

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

12 lines (11 loc) 524 B
/** * Removes single-hash comment lines (`# Comment`) 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 single-hash comment lines removed * * @private - TODO: [🧠] Maybe should be public? */ export declare function removeCommentsFromSystemMessage(systemMessage: string): string;