diff --git a/frontend/src/lib/components/flows/content/AgentUsePanel.svelte b/frontend/src/lib/components/flows/content/AgentUsePanel.svelte
index ae01b183a9..49f33974b5 100644
--- a/frontend/src/lib/components/flows/content/AgentUsePanel.svelte
+++ b/frontend/src/lib/components/flows/content/AgentUsePanel.svelte
@@ -39,6 +39,7 @@
chat: boolean
/** Unset when Slack is not connected to the workspace. */
slackTeamName: string | undefined
+ /** Unset when Slack can't be reached with the workspace's bot token. */
botName: string | undefined
/** Agents answer in Slack only when the instance verifies Slack's request signatures. */
signingSecretSet: boolean
@@ -57,7 +58,7 @@
// Read again whenever the agent's channels change, so a channel just added or removed moves
// between the list and the picker.
const available = resource(
- () => ({ ws: isAdmin && chat && slackTeamName ? workspace : undefined, channels }),
+ () => ({ ws: isAdmin && chat && slackTeamName && botName ? workspace : undefined, channels }),
async ({ ws }) => (ws ? await listChoices(ws) : [])
)
@@ -221,16 +222,26 @@ async function waitForAnswer(UUID) {
Windmill can tell who sent a message.
{/if}
+ {#if !botName}
+
@{botName ?? 'Windmill'} {handle} your question{botName ? `@${botName} ` : ''}{handle} your question
memory_id are one conversation: reuse it for
- follow-ups and pick a new one to start over.{/if}
+ Each call runs the agent as the token's owner and returns the id of the run.{#if chat}{' '}Calls
+ that share a memory_id are one conversation: reuse it for follow-ups and pick
+ a new one to start over.{/if}