From 529afa3facaef7bc5c47e44854102c43754a139f Mon Sep 17 00:00:00 2001 From: Zeno Kapitein Date: Tue, 24 Feb 2026 10:04:18 +0100 Subject: [PATCH] Open Assistant from page action without default question (#4038) --- packages/gitbook/src/components/PageActions/PageActions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gitbook/src/components/PageActions/PageActions.tsx b/packages/gitbook/src/components/PageActions/PageActions.tsx index c97552268..c778c1839 100644 --- a/packages/gitbook/src/components/PageActions/PageActions.tsx +++ b/packages/gitbook/src/components/PageActions/PageActions.tsx @@ -32,7 +32,7 @@ export function ActionOpenAssistant(props: { assistant: Assistant; type: PageAct description={tString(language, 'ai_chat_ask_about_page', assistant.label)} disabled={chat.loading} onClick={() => { - assistant.open(tString(language, 'ai_chat_suggested_questions_about_this_page')); + assistant.open(); }} /> );