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

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