clearPostAiVerbs

View as MarkdownOpen in Claude

Remove all post-AI verbs.

Parameters

None.

Returns

AgentBase — Returns this for method chaining.

Example

import { AgentBase } from '@signalwire/sdk';
const agent = new AgentBase({ name: 'support', route: '/support' });
agent.setPromptText('You are a helpful assistant.');
agent.addPostAiVerb('hangup', {});
agent.clearPostAiVerbs();
await agent.serve();