@thinkai/tai-api-contract 2.145.0 → 2.146.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3232,7 +3232,8 @@ export interface paths {
|
|
|
3232
3232
|
delete: operations["deleteCodeChatThread"];
|
|
3233
3233
|
options?: never;
|
|
3234
3234
|
head?: never;
|
|
3235
|
-
|
|
3235
|
+
/** Rename a code chat thread */
|
|
3236
|
+
patch: operations["patchCodeChatThread"];
|
|
3236
3237
|
trace?: never;
|
|
3237
3238
|
};
|
|
3238
3239
|
"/workspaces/{workspaceId}/code-chat/threads/{threadId}/messages": {
|
|
@@ -9144,6 +9145,10 @@ export interface components {
|
|
|
9144
9145
|
/** Format: date-time */
|
|
9145
9146
|
updatedAt: string;
|
|
9146
9147
|
};
|
|
9148
|
+
CodeChatThreadPatchBodyDto: {
|
|
9149
|
+
/** @description Display title for the conversation. */
|
|
9150
|
+
title: string;
|
|
9151
|
+
};
|
|
9147
9152
|
CodeChatThreadListDto: {
|
|
9148
9153
|
items: components["schemas"]["CodeChatThreadDto"][];
|
|
9149
9154
|
};
|
|
@@ -10825,6 +10830,7 @@ export type CodeChatSyncIndexesBodyDto = components['schemas']['CodeChatSyncInde
|
|
|
10825
10830
|
export type CodeChatSyncIndexesResultDto = components['schemas']['CodeChatSyncIndexesResultDto'];
|
|
10826
10831
|
export type CodeChatSkippedRepoDto = components['schemas']['CodeChatSkippedRepoDto'];
|
|
10827
10832
|
export type CodeChatThreadDto = components['schemas']['CodeChatThreadDto'];
|
|
10833
|
+
export type CodeChatThreadPatchBodyDto = components['schemas']['CodeChatThreadPatchBodyDto'];
|
|
10828
10834
|
export type CodeChatThreadListDto = components['schemas']['CodeChatThreadListDto'];
|
|
10829
10835
|
export type CodeChatCreateThreadBodyDto = components['schemas']['CodeChatCreateThreadBodyDto'];
|
|
10830
10836
|
export type CodeChatCitationDto = components['schemas']['CodeChatCitationDto'];
|
|
@@ -19549,6 +19555,52 @@ export interface operations {
|
|
|
19549
19555
|
};
|
|
19550
19556
|
};
|
|
19551
19557
|
};
|
|
19558
|
+
patchCodeChatThread: {
|
|
19559
|
+
parameters: {
|
|
19560
|
+
query?: never;
|
|
19561
|
+
header?: never;
|
|
19562
|
+
path: {
|
|
19563
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
19564
|
+
threadId: string;
|
|
19565
|
+
};
|
|
19566
|
+
cookie?: never;
|
|
19567
|
+
};
|
|
19568
|
+
requestBody: {
|
|
19569
|
+
content: {
|
|
19570
|
+
"application/json": components["schemas"]["CodeChatThreadPatchBodyDto"];
|
|
19571
|
+
};
|
|
19572
|
+
};
|
|
19573
|
+
responses: {
|
|
19574
|
+
/** @description Updated thread */
|
|
19575
|
+
200: {
|
|
19576
|
+
headers: {
|
|
19577
|
+
[name: string]: unknown;
|
|
19578
|
+
};
|
|
19579
|
+
content: {
|
|
19580
|
+
"application/json": components["schemas"]["CodeChatThreadDto"];
|
|
19581
|
+
};
|
|
19582
|
+
};
|
|
19583
|
+
/** @description title is required (`invalid_input`) */
|
|
19584
|
+
400: {
|
|
19585
|
+
headers: {
|
|
19586
|
+
[name: string]: unknown;
|
|
19587
|
+
};
|
|
19588
|
+
content: {
|
|
19589
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19590
|
+
};
|
|
19591
|
+
};
|
|
19592
|
+
401: components["responses"]["Unauthorized"];
|
|
19593
|
+
/** @description Thread not found (`thread_not_found`) */
|
|
19594
|
+
404: {
|
|
19595
|
+
headers: {
|
|
19596
|
+
[name: string]: unknown;
|
|
19597
|
+
};
|
|
19598
|
+
content: {
|
|
19599
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19600
|
+
};
|
|
19601
|
+
};
|
|
19602
|
+
};
|
|
19603
|
+
};
|
|
19552
19604
|
postCodeChatMessage: {
|
|
19553
19605
|
parameters: {
|
|
19554
19606
|
query?: never;
|