File tree Expand file tree Collapse file tree 3 files changed +13
-14
lines changed
typescript-sdk/apps/dojo/src
app/[integrationId]/feature/tool_based_generative_ui Expand file tree Collapse file tree 3 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ interface Haiku {
27
27
export default function ToolBasedGenerativeUI ( { params } : ToolBasedGenerativeUIProps ) {
28
28
const { integrationId } = React . use ( params ) ;
29
29
30
- const sharedChatProps = {
30
+ const chatProps = {
31
31
defaultOpen : true ,
32
32
labels : {
33
33
title : "Haiku Generator" ,
@@ -47,8 +47,7 @@ export default function ToolBasedGenerativeUI({ params }: ToolBasedGenerativeUIP
47
47
showDevConsole = { false }
48
48
agent = "tool_based_generative_ui"
49
49
>
50
- < CopilotSidebar className = "hidden xl:block" { ...sharedChatProps } />
51
- < CopilotPopup className = "xl:hidden" { ...sharedChatProps } />
50
+ < CopilotSidebar { ...chatProps } />
52
51
< HaikuDisplay />
53
52
</ CopilotKit >
54
53
) ;
You can’t perform that action at this time.
0 commit comments