Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/docs/content/docs/en/integrations/slack.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions apps/sim/tools/slack/set_status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion apps/sim/tools/slack/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ export interface SlackGetThreadParams extends SlackBaseParams {
export interface SlackSetStatusParams extends SlackBaseParams {
channel: string
threadTs: string
status: string
status?: string
loadingMessages?: string[]
}

Expand Down
Loading