fix(slack): allow empty status to clear the assistant status indicator (#5827)

This commit is contained in:
Theodore Li
2026-07-21 20:25:04 -04:00
committed by GitHub
parent e51a867de3
commit e3f9deb65e
3 changed files with 5 additions and 4 deletions
@@ -815,7 +815,7 @@ Set or clear the assistant thread status indicator (the loading shimmer) on a Sl
| `botToken` | string | No | Bot token for Custom Bot |
| `channel` | string | Yes | Channel ID containing the assistant thread \(e.g., C1234567890 or D1234567890\) |
| `threadTs` | string | Yes | Thread timestamp \(thread_ts\) of the assistant thread \(e.g., 1405894322.002768\) |
| `status` | string | Yes | Status text to display, e.g. 'Working on it…'. Pass an empty string to clear. |
| `status` | string | No | Status text to display, e.g. 'Working on it…'. Omit or pass an empty string to clear the status. |
| `loadingMessages` | json | No | Optional list of messages to rotate through as an animated loading indicator \(max 10\). |
#### Output
+3 -2
View File
@@ -71,9 +71,10 @@ export const slackSetStatusTool: ToolConfig<SlackSetStatusParams, SlackSetStatus
},
status: {
type: 'string',
required: true,
required: false,
visibility: 'user-or-llm',
description: "Status text to display, e.g. 'Working on it…'. Pass an empty string to clear.",
description:
"Status text to display, e.g. 'Working on it…'. Omit or pass an empty string to clear the status.",
},
loadingMessages: {
type: 'json',
+1 -1
View File
@@ -794,7 +794,7 @@ export interface SlackGetThreadParams extends SlackBaseParams {
export interface SlackSetStatusParams extends SlackBaseParams {
channel: string
threadTs: string
status: string
status?: string
loadingMessages?: string[]
}