mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-23 11:03:39 +00:00
Open Assistant from page action without default question (#4038)
This commit is contained in:
@@ -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();
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user