diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/copilot-message/copilot-message.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/copilot-message/copilot-message.tsx index 76133fe7921..bc06c8df30d 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/copilot-message/copilot-message.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/copilot-message/copilot-message.tsx @@ -145,8 +145,8 @@ const SmoothStreamingText = memo( }, [content, isStreaming]) return ( -
-
+
+
{displayedContent} @@ -374,7 +374,7 @@ const CopilotMessage: FC = memo( } return ( -
+
{language}
-
-                {codeContent}
-              
+
+
+                  {codeContent}
+                
+
) }, @@ -440,7 +442,7 @@ const CopilotMessage: FC = memo( // Tables table: ({ children }: React.TableHTMLAttributes) => ( -
+
{children}
@@ -500,7 +502,7 @@ const CopilotMessage: FC = memo( return (
0 ? 1 : 0.7, transform: shouldUseSmoothing ? 'translateY(0)' : undefined, @@ -516,7 +518,7 @@ const CopilotMessage: FC = memo( markdownComponents={markdownComponents} /> ) : ( -
+
{cleanBlockContent} @@ -600,8 +602,8 @@ const CopilotMessage: FC = memo( if (isAssistant) { return ( -
-
+
+
{/* Content blocks in chronological order */} {memoizedContentBlocks} diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/copilot.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/copilot.tsx index f07899f1a25..414932c29ed 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/copilot.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/copilot.tsx @@ -208,7 +208,7 @@ export const Copilot = forwardRef(({ panelWidth }, ref className='flex-1 overflow-hidden' hideScrollbar={true} > -
+
{messages.length === 0 ? (
diff --git a/apps/sim/stores/panel/store.ts b/apps/sim/stores/panel/store.ts index a4e9274dd4b..f035d551b7e 100644 --- a/apps/sim/stores/panel/store.ts +++ b/apps/sim/stores/panel/store.ts @@ -19,8 +19,8 @@ export const usePanelStore = create()( }, setPanelWidth: (width: number) => { - // Ensure minimum width of 308px and maximum of 500px - const clampedWidth = Math.max(308, Math.min(500, width)) + // Ensure minimum width of 308px and maximum of 800px + const clampedWidth = Math.max(308, Math.min(800, width)) set({ panelWidth: clampedWidth }) }, }),