Skip to content

Commit b363cd3

Browse files
authored
fix(web-api): remove bounds on assistant.threads.setSuggestedPrompts prompts count in types (#2297)
1 parent d084bfc commit b363cd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/web-api/src/types/request/assistant.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export interface AssistantThreadsSetSuggestedPromptsArguments extends TokenOverr
1515
/** @description Channel ID containing the assistant thread. */
1616
channel_id: string;
1717
/** @description Prompt suggestions that appear when opening assistant thread. */
18-
prompts: [AssistantPrompt, ...AssistantPrompt[]];
18+
prompts: AssistantPrompt[];
1919
/** @description Message timestamp of the thread. */
2020
thread_ts: string;
2121
/** @description Title for the prompts. */

0 commit comments

Comments
 (0)