File tree Expand file tree Collapse file tree 3 files changed +14
-17
lines changed
app/workspace/[workspaceId]/w/[workflowId]/components Expand file tree Collapse file tree 3 files changed +14
-17
lines changed Original file line number Diff line number Diff line change @@ -999,14 +999,14 @@ export function ControlBar({ hasValidationErrors = false }: ControlBarProps) {
999999 return (
10001000 < div className = 'fixed top-4 right-4 z-20 flex items-center gap-1' >
10011001 { renderDisconnectionNotice ( ) }
1002- { ! isDev && renderToggleButton ( ) }
1003- { isExpanded && ! isDev && < ExportControls /> }
1004- { isExpanded && ! isDev && renderAutoLayoutButton ( ) }
1002+ { renderToggleButton ( ) }
1003+ { isExpanded && < ExportControls /> }
1004+ { isExpanded && renderAutoLayoutButton ( ) }
10051005 { ! isDev && isExpanded && renderDuplicateButton ( ) }
10061006 { isDev && renderDuplicateButton ( ) }
10071007 { renderDeleteButton ( ) }
10081008 { ! isDebugging && renderDebugModeToggle ( ) }
1009- { renderPublishButton ( ) }
1009+ { isExpanded && renderPublishButton ( ) }
10101010 { renderDeployButton ( ) }
10111011 { isDebugging ? renderDebugControlsBar ( ) : renderRunButton ( ) }
10121012
Original file line number Diff line number Diff line change 99} from '@/components/ui/dropdown-menu'
1010import { ScrollArea } from '@/components/ui/scroll-area'
1111import { Tooltip , TooltipContent , TooltipTrigger } from '@/components/ui/tooltip'
12- import { isDev } from '@/lib/environment'
1312import { useCopilotStore } from '@/stores/copilot/store'
1413import { useChatStore } from '@/stores/panel/chat/store'
1514import { useConsoleStore } from '@/stores/panel/console/store'
@@ -305,16 +304,14 @@ export function Panel() {
305304 >
306305 Console
307306 </ button >
308- { ! isDev && (
309- < button
310- onClick = { ( ) => handleTabClick ( 'copilot' ) }
311- className = { `panel-tab-base inline-flex flex-1 cursor-pointer items-center justify-center rounded-[10px] border border-transparent py-1 font-[450] text-sm outline-none transition-colors duration-200 ${
312- isOpen && activeTab === 'copilot' ? 'panel-tab-active' : 'panel-tab-inactive'
313- } `}
314- >
315- Copilot
316- </ button >
317- ) }
307+ < button
308+ onClick = { ( ) => handleTabClick ( 'copilot' ) }
309+ className = { `panel-tab-base inline-flex flex-1 cursor-pointer items-center justify-center rounded-[10px] border border-transparent py-1 font-[450] text-sm outline-none transition-colors duration-200 ${
310+ isOpen && activeTab === 'copilot' ? 'panel-tab-active' : 'panel-tab-inactive'
311+ } `}
312+ >
313+ Copilot
314+ </ button >
318315 < button
319316 onClick = { ( ) => handleTabClick ( 'variables' ) }
320317 className = { `panel-tab-base inline-flex flex-1 cursor-pointer items-center justify-center rounded-[10px] border border-transparent py-1 font-[450] text-sm outline-none transition-colors duration-200 ${
Original file line number Diff line number Diff line change @@ -1812,9 +1812,9 @@ async function* parseSSEStream(
18121812
18131813// Auth/usage assistant response messages for Copilot
18141814const COPILOT_AUTH_REQUIRED_MESSAGE =
1815- '*Authorization failed. An API key must be configured in order to use the copilot. You can configure an api key in the settings page on sim.ai*'
1815+ '*Authorization failed. An API key must be configured in order to use the copilot. You can configure an API key at [ sim.ai](https://sim.ai). *'
18161816const COPILOT_USAGE_EXCEEDED_MESSAGE =
1817- '*Usage limit exceeded, please upgrade your plan to continue using the copilot*'
1817+ '*Usage limit exceeded, please upgrade your plan at [sim.ai](https://sim.ai) to continue using the copilot*'
18181818
18191819/**
18201820 * Copilot store using the new unified API
You can’t perform that action at this time.
0 commit comments