Skip to main content

deleteSteeringStep

plugin.chatApi.deleteSteeringStep(threadId: string, steeringStepId: string): Promise<void>

Deletes a steering step from a thread.

Removes the specified steering instruction from the thread.

Parameters

ParameterTypeRequiredDescription
threadIdstringYesThe unique identifier of the thread
steeringStepIdstringYesThe unique identifier of the steering step to delete

Returns

Promise<void> — A promise that resolves when the steering step has been deleted

Example

import plugin from '@codebolt/plugin-sdk';

const result = await plugin.chatApi.deleteSteeringStep('threadId', 'steeringStepId');
console.log(result);