diff --git a/ui/src/components/cliproxy/control-panel-embed.tsx b/ui/src/components/cliproxy/control-panel-embed.tsx index 97907f19..d256c1f0 100644 --- a/ui/src/components/cliproxy/control-panel-embed.tsx +++ b/ui/src/components/cliproxy/control-panel-embed.tsx @@ -7,7 +7,7 @@ */ import { useState, useEffect, useRef, useCallback, useMemo } from 'react'; -import { RefreshCw, AlertCircle, Key, X, Gauge, Globe, Settings } from 'lucide-react'; +import { RefreshCw, AlertCircle, Gauge } from 'lucide-react'; import { useQuery } from '@tanstack/react-query'; import { api, withApiBase } from '@/lib/api-client'; import type { CliproxyServerConfig } from '@/lib/api-client'; @@ -28,7 +28,6 @@ export function ControlPanelEmbed({ port = CLIPROXY_DEFAULT_PORT }: ControlPanel const [iframeRevision, setIframeRevision] = useState(0); const [error, setError] = useState(null); const [isConnected, setIsConnected] = useState(false); - const [showLoginHint, setShowLoginHint] = useState(true); // Fetch cliproxy_server config for remote/local mode detection const { data: cliproxyConfig, error: configError } = useQuery({ @@ -200,25 +199,6 @@ export function ControlPanelEmbed({ port = CLIPROXY_DEFAULT_PORT }: ControlPanel Retry -
-
-
-
-

Need the CCS-native workflow?

-

- Configure provider entries in the dedicated AI Providers page. Use the embedded - control panel only when you need the raw upstream dashboard. -

-
- - Open AI Providers - -
-
-
@@ -239,63 +219,7 @@ export function ControlPanelEmbed({ port = CLIPROXY_DEFAULT_PORT }: ControlPanel return (
-
-
-
-
-

Need the CCS-native workflow?

-

- Configure provider entries in the dedicated AI Providers page. Use the embedded - control panel only when you need the raw upstream dashboard. -

-
- - Open AI Providers - -
-
-
- {/* Remote indicator and login hint banner */} - {showLoginHint && !isLoading && ( -
-
- {isRemote && ( - <> - - Remote - | - - )} - - - Key:{' '} - - {authToken && authToken.length > 4 - ? `***${authToken.slice(-4)}` - : authToken || 'ccs'} - - - - - - -
-
- )} - {/* Loading overlay */} {isLoading && (