updateThreadLocation
client.chat.updateThreadLocation(data: UpdateThreadLocationRequest): Promise<void>
Updates the location context of a chat thread.
Associates the thread with a specific file path or project location, providing context for the conversation.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
data | UpdateThreadLocationRequest | Yes | The location update payload |
Returns
Promise<void> — A promise that resolves when the location has been updated
Example
import { CodeBoltClient } from '@codebolt/clientsdk';
const client = new CodeBoltClient();
const result = await client.chat.updateThreadLocation(/* UpdateThreadLocationRequest */);
console.log(result);