diff --git a/src/features/authFiles/components/AuthFilesPrefixProxyEditorModal.tsx b/src/features/authFiles/components/AuthFilesPrefixProxyEditorModal.tsx index 25ff267..b9aed26 100644 --- a/src/features/authFiles/components/AuthFilesPrefixProxyEditorModal.tsx +++ b/src/features/authFiles/components/AuthFilesPrefixProxyEditorModal.tsx @@ -3,6 +3,7 @@ import { Modal } from '@/components/ui/Modal'; import { Button } from '@/components/ui/Button'; import { LoadingSpinner } from '@/components/ui/LoadingSpinner'; import { Input } from '@/components/ui/Input'; +import { ToggleSwitch } from '@/components/ui/ToggleSwitch'; import type { PrefixProxyEditorField, PrefixProxyEditorFieldValue, @@ -141,6 +142,18 @@ export function AuthFilesPrefixProxyEditorModal(props: AuthFilesPrefixProxyEdito disabled={disableControls || editor.saving || !editor.json} onChange={(e) => onChange('priority', e.target.value)} /> + {editor.providerKey === 'codex' && ( +
+ + onChange('websockets', value)} + disabled={disableControls || editor.saving || !editor.json} + ariaLabel={t('ai_providers.codex_websockets_label')} + /> +
{t('ai_providers.codex_websockets_hint')}
+
+ )}