diff --git a/front/lib/api/assistant/agent.ts b/front/lib/api/assistant/agent.ts index 76c0ea26cb05..f3774019603d 100644 --- a/front/lib/api/assistant/agent.ts +++ b/front/lib/api/assistant/agent.ts @@ -346,7 +346,10 @@ async function* runMultiActionsAgent( } let fallbackPrompt = "You are a conversational assistant"; - if (agentConfiguration.actions.length) { + if ( + agentConfiguration.actions.length || + agentConfiguration.visualizationEnabled + ) { fallbackPrompt += " with access to tool use."; } else { fallbackPrompt += ".";