getPostPrompt

View as MarkdownOpen in Claude

Return the post-prompt text, or null if not set.

Parameters

None.

Returns

string | null — The post-prompt string, or null if not set.

Example

import { PromptManager } from '@signalwire/sdk';
const pm = new PromptManager();
pm.setPostPrompt('Summarize the conversation.');
console.log(pm.getPostPrompt()); // "Summarize the conversation."