diff --git a/ui/src/components/cliproxy/provider-editor/provider-editor-header.tsx b/ui/src/components/cliproxy/provider-editor/provider-editor-header.tsx index 718949e7..3d662811 100644 --- a/ui/src/components/cliproxy/provider-editor/provider-editor-header.tsx +++ b/ui/src/components/cliproxy/provider-editor/provider-editor-header.tsx @@ -5,7 +5,7 @@ import { Button } from '@/components/ui/button'; import { Badge } from '@/components/ui/badge'; -import { Save, Loader2, RefreshCw } from 'lucide-react'; +import { Save, Loader2, RefreshCw, Globe } from 'lucide-react'; import { ProviderLogo } from '../provider-logo'; import type { SettingsResponse } from './types'; @@ -43,16 +43,31 @@ export function ProviderEditorHeader({

{displayName}

+ {isRemoteMode && ( + + + Remote + + )} {!isRemoteMode && data?.path && ( {data.path.replace(/^.*[\\/]/, '')} )}
- {!isRemoteMode && data && ( -

- Last modified: {new Date(data.mtime).toLocaleString()} + {isRemoteMode ? ( +

+ Traffic auto-routed to remote server

+ ) : ( + data && ( +

+ Last modified: {new Date(data.mtime).toLocaleString()} +

+ ) )}