updateSteeringStep
client.chat.updateSteeringStep(threadId: string, steeringStepId: string, data: UpdateSteeringStepData): Promise<SteeringStep>
Updates a steering step in a thread.
Modifies the instruction or metadata of an existing steering step.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
threadId | string | Yes | The unique identifier of the thread |
steeringStepId | string | Yes | The unique identifier of the steering step to update |
data | UpdateSteeringStepData | Yes | The fields to update on the steering step |
Returns
Promise<SteeringStep> — A promise that resolves to the updated SteeringStep
Example
import { CodeBoltClient } from '@codebolt/clientsdk';
const client = new CodeBoltClient();
const result = await client.chat.updateSteeringStep('threadId', 'steeringStepId', /* UpdateSteeringStepData */);
console.log(result);