7.4 billion tokens per month. 34 free LLM providers. 635 free model endpoints. All behind one /v1 endpoint, plus any custom OpenAI-compatible endpoint. Smart routing, automatic failover, encrypted keys. Personal experimentation only.
TypeScript
feat(keys): safely edit credentials and model scope in place (#1163)
kenanlabs8db81c5c2042
diff --git a/client/src/components/keys/edit-key-dialog.test.tsx b/client/src/components/keys/edit-key-dialog.test.tsxnew file mode 100644index 00000000..a9c4dcc1--- /dev/null+++ b/client/src/components/keys/edit-key-dialog.test.tsx@@ -0,0 +1,91 @@+// @vitest-environment jsdom+import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from 'vitest'+import { act, type ReactNode } from 'react'+import { createRoot, type Root } from 'react-dom/client'+import { QueryClient, QueryClientProvider } from '@tanstack/react-query'+import { I18nProvider } from '@/i18n'+import { apiFetch } from '@/lib/api'+import type { ApiKey } from '../../../../shared/types'+import { EditKeyDialog } from './edit-key-dialog'+import { EditModelsDialog } from './edit-models-dialog'++vi.mock('@/lib/api', () => ({ apiFetch: vi.fn() }))+// Keep the real form and state; remove only portal/focus management.+vi.mock('@/components/ui/dialog', () => ({+ Dialog: ({ children }: { children: ReactNode }) => <div>{children}</div>,+ DialogPopup: ({ children }: { children: ReactNode }) => <div>{children}</div>,+ DialogTitle: ({ children }: { children: ReactNode }) => <h2>{children}</h2>,+ DialogClose: ({ children }: { children: ReactNode }) => <button>{children}</button>,+}))+let root: Root+let container: HTMLDivElement+const key = { id: 7, platform: 'cloudflare', label: 'Work', maskedKey: '***', modelScope: null } as ApiKey+const onOpenChange = vi.fn()++beforeAll(() => {+ ;(globalThis as unknown as { IS_REACT_ACT_ENVIRONMENT: boolean }).IS_REACT_ACT_ENVIRONMENT = true+})+beforeEach(() => {+ vi.mocked(apiFetch).mockReset().mockResolvedValue({ success: true })+ onOpenChange.mockReset()+ container = document.createElement('div')+ document.body.appendChild(container)+ root = createRoot(container)+})+afterEach(() => { act(() => root.unmount()); container.remove() })+function mount(component: ReactNode) {+ const client = new QueryClient({ defaultOptions: { queries: { retry: false }, mutations: { retry: false } } })+ act(() => root.render(<QueryClientProvider client={client}><I18nProvider initialLocale="en">{component}</I18nProvider></QueryClientProvider>))+}+function enter(selector: string, value: string) {+ const input = container.querySelector<HTMLInputElement>(selector)!+ act(() => {+ Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, 'value')!.set!.call(input, value)+ input.dispatchEvent(new Event('input', { bubbles: true }))+ })+}+async function flush() {+ for (let i = 0; i < 4; i++) await act(async () => { await new Promise(resolve => setTimeout(resolve, 0)) })+}+async function submit() {+ act(() => { container.querySelector('form')!.dispatchEvent(new Event('submit', { bubbles: true, cancelable: true })) })+ await flush()+}+describe('editing provider credentials', () => {+ it('sends both trimmed Cloudflare credential parts in the PATCH request', async () => {+ mount(<EditKeyDialog apiKey={key} onOpenChange={onOpenChange} />)+ enter('input[placeholder="Account ID"]', ' account-123 ')+ enter('#edit-key-value', ' token-456 ')+ await submit()+ expect(apiFetch).toHaveBeenCalledWith('/api/keys/7', { method: 'PATCH', body: JSON.stringify({ key: 'account-123:token-456' }) })+ })+ it.each(['account', 'token'])('does not submit an incomplete Cloudflare credential: %s only', async part => {+ mount(<EditKeyDialog apiKey={key} onOpenChange={onOpenChange} />)+ enter(part === 'account' ? 'input[placeholder="Account ID"]' : '#edit-key-value', 'incomplete')+ await submit()+ expect(apiFetch).not.toHaveBeenCalled()+ expect(onOpenChange).not.toHaveBeenCalled()+ })+ it('can change a label without replacing its saved credential', async () => {+ mount(<EditKeyDialog apiKey={key} onOpenChange={onOpenChange} />)+ enter('#edit-key-label', 'Renamed')+ await submit()+ expect(apiFetch).toHaveBeenCalledWith('/api/keys/7', { method: 'PATCH', body: JSON.stringify({ label: 'Renamed' }) })+ })+ it('sends a normal provider token without an account prefix', async () => {+ mount(<EditKeyDialog apiKey={{ ...key, platform: 'groq' }} onOpenChange={onOpenChange} />)+ enter('#edit-key-value', ' new-token ')+ await submit()+ expect(apiFetch).toHaveBeenCalledWith('/api/keys/7', { method: 'PATCH', body: JSON.stringify({ key: 'new-token' }) })+ })+ it('loads model choices from the full catalog instead of a limited active chain', async () => {+ vi.mocked(apiFetch).mockImplementation(async path => path === '/api/models'+ ? [{ platform: 'cloudflare', modelId: 'outside-chain', displayName: 'Outside active chain', sizeLabel: 'Small', contextWindow: 1000 }]+ : [])+ mount(<EditModelsDialog apiKey={key} onOpenChange={onOpenChange} />)+ await flush()+ expect(container.textContent).toContain('Outside active chain')+ expect(apiFetch).toHaveBeenCalledWith('/api/models')+ expect(apiFetch).not.toHaveBeenCalledWith('/api/fallback')+ })+})diff --git a/client/src/components/keys/edit-key-dialog.tsx b/client/src/components/keys/edit-key-dialog.tsxnew file mode 100644index 00000000..544ba17e--- /dev/null+++ b/client/src/components/keys/edit-key-dialog.tsx@@ -0,0 +1,164 @@+import { useMemo, useState, type FormEvent } from 'react'+import { useMutation, useQueryClient } from '@tanstack/react-query'+import { apiFetch } from '@/lib/api'+import { Button } from '@/components/ui/button'+import { Dialog, DialogClose, DialogPopup, DialogTitle } from '@/components/ui/dialog'+import { FieldError } from '@/components/ui/field-error'+import { Input } from '@/components/ui/input'+import { Label } from '@/components/ui/label'+import { X } from 'lucide-react'+import type { ApiKey } from '../../../../shared/types'+import { useI18n } from '@/i18n'+import { PLATFORMS } from './shared'++type UpdateBody = {+ label?: string+ key?: string+}++/** Edit the mutable parts of a key without deleting its stable endpoint+ * identity. Changing the credential itself is deliberately explicit: the+ * field starts empty because the API never sends plaintext secrets back. */+export function EditKeyDialog({+ apiKey,+ onOpenChange,+}: {+ apiKey: ApiKey+ onOpenChange: (open: boolean) => void+}) {+ const { t } = useI18n()+ const queryClient = useQueryClient()+ const [label, setLabel] = useState(apiKey.label)+ const [apiKeyValue, setApiKeyValue] = useState('')+ const [accountId, setAccountId] = useState('')+ const [attempted, setAttempted] = useState(false)++ const needsAccountId = apiKey.platform === 'cloudflare'+ const canEditCredential = !apiKey.keyless+ const provider = PLATFORMS.find(p => p.value === apiKey.platform)+ const credential = useMemo(() => {+ if (!canEditCredential || !apiKeyValue.trim()) return ''+ if (needsAccountId) return accountId.trim() ? `${accountId.trim()}:${apiKeyValue.trim()}` : ''+ return apiKeyValue.trim()+ }, [accountId, apiKeyValue, canEditCredential, needsAccountId])++ const credentialError = needsAccountId &&+ (accountId.trim() ? !apiKeyValue.trim() : Boolean(apiKeyValue.trim()))+ ? t('keys.editCredentialPartsRequired')+ : null+ const hasChanges = label !== apiKey.label || Boolean(credential)++ const updateKey = useMutation({+ mutationFn: (body: UpdateBody) =>+ apiFetch(`/api/keys/${apiKey.id}`, { method: 'PATCH', body: JSON.stringify(body) }),+ onSuccess: () => {+ for (const key of ['keys', 'health']) queryClient.invalidateQueries({ queryKey: [key] })+ onOpenChange(false)+ },+ })++ const submit = (event: FormEvent) => {+ event.preventDefault()+ if (credentialError) {+ setAttempted(true)+ return+ }++ const body: UpdateBody = {}+ if (label !== apiKey.label) body.label = label+ if (credential) body.key = credential+ if (Object.keys(body).length > 0) updateKey.mutate(body)+ else onOpenChange(false)+ }++ return (+ <Dialog open onOpenChange={onOpenChange}>+ <DialogPopup maxWidth="max-w-lg">+ <div className="mb-4 flex items-center justify-between gap-4">+ <DialogTitle>{t('keys.editKey')}</DialogTitle>+ <DialogClose+ aria-label={t('common.dismiss')}+ className="-mr-1 rounded-lg p-1 text-muted-foreground/70 transition-colors outline-none hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50"+ >+ <X className="size-4" />+ </DialogClose>+ </div>++ <form onSubmit={submit} className="space-y-4">+ <div className="grid gap-3 sm:grid-cols-2">+ <div className="space-y-1.5">+ <Label className="text-xs">{t('keys.platform')}</Label>+ <Input value={provider?.label ?? apiKey.platform} readOnly className="bg-muted/30" />+ <p className="text-[11px] text-muted-foreground">{t('keys.editPlatformLocked')}</p>+ </div>+ <div className="space-y-1.5">+ <Label className="text-xs" htmlFor="edit-key-label">{t('keys.label')}</Label>+ <Input+ id="edit-key-label"+ value={label}+ onChange={e => setLabel(e.target.value)}+ placeholder={t('keys.customDisplayNameOptional')}+ />+ </div>+ </div>++ {apiKey.baseUrl && (+ <div className="space-y-1.5">+ <Label className="text-xs">{t('keys.customBaseUrl')}</Label>+ <Input value={apiKey.baseUrl} readOnly className="bg-muted/30 font-mono text-xs" />+ </div>+ )}++ <div className="space-y-1.5">+ <div className="flex items-center justify-between gap-2">+ <Label className="text-xs" htmlFor="edit-key-value">+ {needsAccountId ? t('keys.apiToken') : t('keys.customApiKey')}+ </Label>+ <code className="font-mono text-[11px] text-muted-foreground">{apiKey.maskedKey}</code>+ </div>+ {canEditCredential ? (+ <>+ {needsAccountId && (+ <Input+ value={accountId}+ onChange={e => setAccountId(e.target.value)}+ placeholder={t('keys.accountId')}+ className="font-mono text-xs"+ aria-invalid={attempted && Boolean(credentialError)}+ />+ )}+ <Input+ id="edit-key-value"+ type="password"+ autoComplete="new-password"+ value={apiKeyValue}+ onChange={e => setApiKeyValue(e.target.value)}+ placeholder={needsAccountId ? t('keys.bearerTokenPlaceholder') : t('keys.pasteKeyPlaceholder')}+ className="font-mono text-xs"+ aria-invalid={attempted && Boolean(credentialError)}+ />+ {attempted && <FieldError error={credentialError} />}+ <p className="text-[11px] text-muted-foreground">{t('keys.editCredentialHint')}</p>+ </>+ ) : (+ <Input value={t('keys.noKeyNeededPlaceholder')} readOnly className="bg-muted/30 font-mono text-xs" />+ )}+ </div>++ {updateKey.isError && (+ <p className="text-xs text-destructive">{(updateKey.error as Error).message}</p>+ )}++ <div className="flex items-center justify-end gap-2 pt-1">+ <Button type="button" variant="outline" size="sm" onClick={() => onOpenChange(false)}>+ {t('common.cancel')}+ </Button>+ <Button type="submit" size="sm" disabled={!hasChanges || updateKey.isPending}>+ {updateKey.isPending ? t('common.saving') : t('common.save')}+ </Button>+ </div>+ </form>+ </DialogPopup>+ </Dialog>+ )+}diff --git a/client/src/components/keys/edit-models-dialog.tsx b/client/src/components/keys/edit-models-dialog.tsxnew file mode 100644index 00000000..576ec2d7--- /dev/null+++ b/client/src/components/keys/edit-models-dialog.tsx@@ -0,0 +1,200 @@+import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query'+import { useState } from 'react'+import { apiFetch } from '@/lib/api'+import { Button } from '@/components/ui/button'+import { Dialog, DialogClose, DialogPopup, DialogTitle } from '@/components/ui/dialog'+import { useI18n } from '@/i18n'+import { toast } from '@/lib/toast'+import { formatContext, type FallbackEntry } from '@/lib/routing'+import { scopeCandidates } from '@/lib/model-scope-selection'+import { X } from 'lucide-react'+import type { ApiKey } from '../../../../shared/types'++/** Re-open the post-add model picker for an existing key. The catalog is the+ * source for fixed providers; custom endpoints use their registered models. */+export function EditModelsDialog({+ apiKey,+ onOpenChange,+}: {+ apiKey: ApiKey+ onOpenChange: (open: boolean) => void+}) {+ const { t } = useI18n()+ const queryClient = useQueryClient()++ const { data: catalog = [] } = useQuery<Pick<FallbackEntry, 'platform' | 'modelId' | 'displayName' | 'sizeLabel' | 'contextWindow'>[]>({+ queryKey: ['models'],+ queryFn: () => apiFetch('/api/models'),+ enabled: apiKey.platform !== 'custom',+ })++ const candidates = apiKey.platform === 'custom'+ ? (apiKey.models ?? [])+ .filter(model => model.kind === 'chat')+ .map(model => ({+ modelId: model.modelId,+ displayName: model.displayName || model.modelId,+ sizeLabel: null,+ contextWindow: null,+ }))+ : scopeCandidates(catalog, apiKey.platform)++ const allIds = candidates.map(model => model.modelId)+ // Keep "all" as a mode rather than snapshotting every current id: the+ // catalog query resolves after mount, and a stored full list would go stale.+ const [allMode, setAllMode] = useState(apiKey.modelScope === null)+ const [selected, setSelected] = useState<Set<string>>(() => new Set(apiKey.modelScope ?? []))++ const syncCatalog = useMutation({+ meta: { silenceToast: true },+ mutationFn: () => apiFetch('/api/premium/sync', { method: 'POST' }),+ onSuccess: () => {+ queryClient.invalidateQueries({ queryKey: ['fallback'] })+ queryClient.invalidateQueries({ queryKey: ['models'] })+ toast.success(t('keys.editModelsSynced'))+ },+ onError: error => toast.error((error as Error).message),+ })++ const save = useMutation({+ meta: { silenceToast: true },+ mutationFn: (modelScope: string[] | null) =>+ apiFetch(`/api/keys/${apiKey.id}`, {+ method: 'PATCH',+ body: JSON.stringify({ modelScope }),+ }),+ onSuccess: (_data, modelScope) => {+ queryClient.invalidateQueries({ queryKey: ['keys'] })+ toast.success(t(+ modelScope === null+ ? 'keys.modelPicker.allSaved'+ : modelScope.length === 1+ ? 'keys.modelPicker.scopedOne'+ : 'keys.modelPicker.scopedOther',+ ...(modelScope === null ? [] : [{ count: modelScope.length }]),+ ))+ onOpenChange(false)+ },+ })++ const toggle = (id: string) => {+ if (allMode) {+ setAllMode(false)+ const next = new Set(allIds)+ next.delete(id)+ setSelected(next)+ return+ }+ setSelected(prev => {+ const next = new Set(prev)+ if (next.has(id)) next.delete(id)+ else next.add(id)+ return next+ })+ }++ const isSelected = (id: string) => allMode || selected.has(id)+ const allSelected = allIds.length > 0 && allIds.every(isSelected)+ const selectedCount = allMode ? allIds.length : selected.size+ const toggleAll = () => {+ setAllMode(false)+ setSelected(allSelected ? new Set() : new Set(allIds))+ }+ const submit = () => save.mutate(allSelected ? null : [...selected])++ return (+ <Dialog open onOpenChange={onOpenChange}>+ <DialogPopup maxWidth="max-w-xl">+ <div className="mb-4 flex items-center justify-between gap-4">+ <DialogTitle>{t('keys.editModels')}</DialogTitle>+ <DialogClose+ aria-label={t('common.dismiss')}+ className="-mr-1 rounded-lg p-1 text-muted-foreground/70 transition-colors outline-none hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50"+ >+ <X className="size-4" />+ </DialogClose>+ </div>++ {apiKey.platform === 'custom' ? (+ <p className="text-xs text-muted-foreground">{t('keys.editModelsCustomHint')}</p>+ ) : (+ <div className="flex items-start justify-between gap-4">+ <p className="max-w-prose text-xs text-muted-foreground">{t('keys.editModelsHint')}</p>+ <Button+ type="button"+ variant="outline"+ size="xs"+ onClick={() => syncCatalog.mutate()}+ disabled={syncCatalog.isPending}+ >+ {syncCatalog.isPending ? t('keys.editModelsSyncing') : t('keys.editModelsSync')}+ </Button>+ </div>+ )}++ {apiKey.platform !== 'custom' && catalog.length === 0 && (+ <p className="mt-4 text-xs text-muted-foreground">{t('common.loading')}</p>+ )}++ {candidates.length > 0 && (+ <>+ <label className="mt-4 flex items-center gap-2 text-xs font-medium">+ <input+ type="checkbox"+ checked={allSelected}+ onChange={toggleAll}+ className="size-4 accent-primary"+ />+ <span>{t('keys.discoverSelectAll')}</span>+ <span className="ml-auto font-normal text-muted-foreground tabular-nums">+ {t('keys.modelPicker.count', { selected: selectedCount, total: allIds.length })}+ </span>+ </label>++ <div className="mt-2 max-h-[45vh] overflow-y-auto rounded-2xl border divide-y">+ {candidates.map(model => (+ <label+ key={model.modelId}+ className="flex cursor-pointer items-center gap-2 px-3 py-2 text-xs hover:bg-muted/30"+ >+ <input+ type="checkbox"+ checked={isSelected(model.modelId)}+ onChange={() => toggle(model.modelId)}+ className="size-4 accent-primary"+ />+ <span className="min-w-0 flex-1 truncate" title={model.modelId}>+ {model.displayName}+ </span>+ {model.sizeLabel && (+ <span className="shrink-0 rounded-full bg-muted px-1.5 py-0.5 text-[10px] text-muted-foreground">+ {model.sizeLabel}+ </span>+ )}+ {model.contextWindow !== null && model.contextWindow > 0 && (+ <span className="shrink-0 rounded-full bg-muted px-1.5 py-0.5 text-[10px] text-muted-foreground tabular-nums">+ {t('models.ctxBadge', { size: formatContext(model.contextWindow) })}+ </span>+ )}+ </label>+ ))}+ </div>+ </>+ )}++ {save.isError && (+ <p className="mt-3 text-xs text-destructive">{(save.error as Error).message}</p>+ )}++ <div className="mt-5 flex items-center justify-end gap-2">+ <Button type="button" variant="outline" size="sm" onClick={() => onOpenChange(false)}>+ {t('common.cancel')}+ </Button>+ <Button type="button" size="sm" onClick={submit} disabled={(!allMode && selected.size === 0) || save.isPending}>+ {save.isPending ? t('common.saving') : t('common.save')}+ </Button>+ </div>+ </DialogPopup>+ </Dialog>+ )+}diff --git a/client/src/components/keys/provider-list.tsx b/client/src/components/keys/provider-list.tsxindex 5ccc3e44..120583ea 100644--- a/client/src/components/keys/provider-list.tsx+++ b/client/src/components/keys/provider-list.tsx@@ -1,4 +1,4 @@-import { useState, useRef, useEffect } from 'react'+import { useState } from 'react'import { useQuery, useMutation, useQueryClient } from '@tanstack/react-query'import { apiFetch } from '@/lib/api'import { Button, buttonVariants } from '@/components/ui/button'@@ -17,7 +17,7 @@ import {DropdownMenuItem,DropdownMenuCheckboxItem,} from '@/components/ui/dropdown-menu'-import { ChevronDown, CircleAlert, Copy, ExternalLink, KeyRound, ListFilter, ListPlus, MoreHorizontal, Pencil, Plus, RefreshCw, Search, Trash2, Zap } from 'lucide-react'+import { ChevronDown, CircleAlert, Copy, ExternalLink, KeyRound, Layers, ListFilter, ListPlus, MoreHorizontal, Pencil, Plus, RefreshCw, Search, Trash2, Zap } from 'lucide-react'import type { ApiKey, ApiKeyModel } from '../../../../shared/types'import { formatSqliteUtcToLocalTime } from '@/lib/utils'import { useI18n } from '@/i18n'@@ -35,6 +35,8 @@ import type { HealthData } from './shared'import { DiscoverModelsDialog } from './discover-models-dialog'import { AddEndpointKeyDialog } from './add-endpoint-key-dialog'import { CopyKeyDialog } from './copy-key-dialog'+import { EditKeyDialog } from './edit-key-dialog'+import { EditModelsDialog } from './edit-models-dialog'import { ModelScopeDialog } from './model-scope-dialog'type StatusFilter = 'all' | 'healthy' | 'issues' | 'disabled'@@ -50,7 +52,6 @@ export function ProviderList({ onAddKey }: { onAddKey: () => void }) {const queryClient = useQueryClient()const [editingKeyId, setEditingKeyId] = useState<number | null>(null)- const [editingLabel, setEditingLabel] = useState('')const [expandedKeyIds, setExpandedKeyIds] = useState<Set<number>>(new Set())// Explicit user open/closed overrides per provider group; absent = default.const [groupOverrides, setGroupOverrides] = useState<Map<string, boolean>>(new Map())@@ -68,10 +69,10 @@ export function ProviderList({ onAddKey }: { onAddKey: () => void }) {const [copyKey, setCopyKey] = useState<{ id: number; maskedKey: string } | null>(null)// Key whose model scope is being edited (#657).const [scopeKeyId, setScopeKeyId] = useState<number | null>(null)+ // Re-open the post-add model picker against the current catalog (#657).+ const [modelEditorKeyId, setModelEditorKeyId] = useState<number | null>(null)// #787: keys selected for bulk enable/disable/delete within a group.const [selectedKeyIds, setSelectedKeyIds] = useState<Set<number>>(new Set())- const editInputRef = useRef<HTMLInputElement>(null)-const { data: keys = [], isLoading } = useQuery<ApiKey[]>({queryKey: ['keys'],queryFn: () => apiFetch('/api/keys'),@@ -219,19 +220,6 @@ export function ProviderList({ onAddKey }: { onAddKey: () => void }) {},})- const updateKey = useMutation({- mutationFn: ({ id, label }: { id: number; label: string }) =>- apiFetch(`/api/keys/${id}`, {- method: 'PATCH',- body: JSON.stringify({ label }),- }),- onSuccess: () => {- queryClient.invalidateQueries({ queryKey: ['keys'] })- setEditingKeyId(null)- setEditingLabel('')- },- })-const toggleBypass = useMutation({mutationFn: (platform: string) => {const next = bypassPlatforms.includes(platform)@@ -244,18 +232,6 @@ export function ProviderList({ onAddKey }: { onAddKey: () => void }) {function startEditing(key: ApiKey) {setEditingKeyId(key.id)- setEditingLabel(key.label)- }-- function cancelEditing() {- setEditingKeyId(null)- setEditingLabel('')- }-- function saveEditing(id: number) {- if (editingLabel !== undefined) {- updateKey.mutate({ id, label: editingLabel })- }}function toggleExpandedKey(id: number) {@@ -267,12 +243,6 @@ export function ProviderList({ onAddKey }: { onAddKey: () => void }) {})}- useEffect(() => {- if (editingKeyId !== null && editInputRef.current) {- editInputRef.current.focus()- }- }, [editingKeyId])-const healthKeyMap = new Map<number, { status: string; lastCheckedAt: string | null; lastHealthError: string | null }>()for (const k of healthData?.keys ?? []) healthKeyMap.set(k.id, k)const statusOf = (k: ApiKey) => healthKeyMap.get(k.id)?.status ?? k.status@@ -506,7 +476,6 @@ export function ProviderList({ onAddKey }: { onAddKey: () => void }) {const health = healthKeyMap.get(k.id)const lastChecked = health?.lastCheckedAt ?? k.lastCheckedAtconst lastHealthError = health?.lastHealthError ?? k.lastHealthError- const isEditing = editingKeyId === k.idconst customModels = k.models ?? []const hasCustomModels = customModels.length > 0const isExpanded = expandedKeyIds.has(k.id)@@ -563,39 +532,20 @@ export function ProviderList({ onAddKey }: { onAddKey: () => void }) {</Button>)}<code className={`text-xs font-mono flex-shrink-0 ${k.enabled ? '' : 'opacity-50'}`}>{k.maskedKey}</code>- {isEditing ? (- <Input- ref={editInputRef}- value={editingLabel}- onChange={e => setEditingLabel(e.target.value)}- onKeyDown={e => {- if (e.key === 'Enter') saveEditing(k.id)- if (e.key === 'Escape') cancelEditing()- }}- onBlur={() => saveEditing(k.id)}- className="h-6 w-[160px] text-xs"- disabled={updateKey.isPending}- />- ) : (- <>- {/* The label is the edit affordance itself (#705): the pencil- only appears on hover, so clicking the name is the move- everyone tries first. An unlabelled key still needs- somewhere to click, hence the muted prompt. */}- <button- type="button"- onClick={() => startEditing(k)}- title={t('keys.editLabel')}- className={`rounded text-xs hover:text-foreground hover:underline underline-offset-2 ${k.label ? 'text-muted-foreground' : 'text-muted-foreground/50'} ${k.enabled ? '' : 'opacity-50'}`}- >- {k.label || t('keys.editLabel')}- </button>- {k.baseUrl && (- <code className={`text-[11px] text-muted-foreground font-mono truncate max-w-[260px] ${k.enabled ? '' : 'opacity-50'}`} title={k.baseUrl}>- {k.baseUrl}- </code>- )}- </>+ {/* Clicking the label is still the edit affordance (#705),+ but the dialog also lets a credential be replaced in place. */}+ <button+ type="button"+ onClick={() => startEditing(k)}+ title={t('keys.editKey')}+ className={`max-w-[220px] truncate rounded text-xs hover:text-foreground hover:underline underline-offset-2 ${k.label ? 'text-muted-foreground' : 'text-muted-foreground/50'} ${k.enabled ? '' : 'opacity-50'}`}+ >+ {k.label || t('keys.editKey')}+ </button>+ {k.baseUrl && (+ <code className={`text-[11px] text-muted-foreground font-mono truncate max-w-[260px] ${k.enabled ? '' : 'opacity-50'}`} title={k.baseUrl}>+ {k.baseUrl}+ </code>)}<span className={`text-xs text-muted-foreground ${k.enabled ? '' : 'opacity-50'}`}>{statusLabelKey[status] ? t(statusLabelKey[status]) : status}</span>{/* Only a SCOPED key shows anything (#657); an unscoped one stays as it always was. */}@@ -615,16 +565,27 @@ export function ProviderList({ onAddKey }: { onAddKey: () => void }) {</span>)}<div className="flex items-center gap-0.5 opacity-0 transition-opacity group-hover/krow:opacity-100 focus-within:opacity-100 pointer-coarse:opacity-100">- {!isEditing && (- <Button- variant="ghost"- size="icon-xs"- onClick={() => startEditing(k)}- aria-label={t('keys.editLabel')}- title={t('keys.editLabel')}- >- <Pencil className="size-3" />- </Button>+ <Button+ variant="ghost"+ size="icon-xs"+ onClick={() => startEditing(k)}+ aria-label={t('keys.editKey')}+ title={t('keys.editKey')}+ >+ <Pencil className="size-3" />+ </Button>+ {!k.keyless && (+ <Tooltip text={t('keys.editModels')}>+ <Button+ variant="ghost"+ size="icon-xs"+ onClick={() => setModelEditorKeyId(k.id)}+ aria-label={t('keys.editModels')}+ title={t('keys.editModels')}+ >+ <Layers className="size-3" />+ </Button>+ </Tooltip>)}{!k.keyless && (<Tooltip text={t('keys.copyFullKey')}>@@ -798,6 +759,25 @@ export function ProviderList({ onAddKey }: { onAddKey: () => void }) {/>) : null})()}+ {(() => {+ const modelKey = modelEditorKeyId !== null ? keys.find(k => k.id === modelEditorKeyId) : undefined+ return modelKey ? (+ <EditModelsDialog+ apiKey={modelKey}+ onOpenChange={(open) => { if (!open) setModelEditorKeyId(null) }}+ />+ ) : null+ })()}+ {(() => {+ // Resolved from the live query so a successful save closes on fresh data.+ const editKey = editingKeyId !== null ? keys.find(k => k.id === editingKeyId) : undefined+ return editKey ? (+ <EditKeyDialog+ apiKey={editKey}+ onOpenChange={(open) => { if (!open) setEditingKeyId(null) }}+ />+ ) : null+ })()}</div>)}diff --git a/client/src/i18n/locales/am.json b/client/src/i18n/locales/am.jsonindex 9c28a46f..33d27d2d 100644--- a/client/src/i18n/locales/am.json+++ b/client/src/i18n/locales/am.json@@ -588,7 +588,8 @@"subsetNote": "ይህ ቁልፍ በተመረጡት ሞዴሎች ብቻ ይገደባል። ይህን በኋላ ከቁልፉ ረድፍ መቀየር ይችላሉ።","skip": "አሁን አይደለም","scopedOne": "ቁልፍ በ1 ሞዴል ተገድቧል",- "scopedOther": "ቁልፍ በ{count} ሞዴሎች ተገድቧል"+ "scopedOther": "ቁልፍ በ{count} ሞዴሎች ተገድቧል",+ "allSaved": "Key serves every catalog model"},"cpTitle": "የደንበኛ መገለጫዎች","cpDesc": "ለእያንዳንዱ ደንበኛ የተለየ የ API ቁልፍ፣ እያንዳንዱም አገልጋዩ ሁልጊዜ የሚተገብረው የስርዓት መመሪያ አለው።",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "የቁልፍ አርትዖት",+ "editPlatformLocked": "የአቅራቢውና የመጨረሻ ነጥብ ከፍጠራ በኋላ ሊለወጡ አይችሉም።",+ "editCredentialHint": "የአሁኑን ቁልፍ ለመቀጠል ባዶ ይተው።",+ "editCredentialPartsRequired": "የመለያ ቁጥሩንና የAPI ቶከኑን ሁለቱንም ያስገቡ።",+ "editModels": "የሞዴሎች አርትዖት",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ar.json b/client/src/i18n/locales/ar.jsonindex b557962c..8e1f8e5a 100644--- a/client/src/i18n/locales/ar.json+++ b/client/src/i18n/locales/ar.json@@ -588,7 +588,8 @@"subsetNote": "سيقتصر هذا المفتاح على النماذج المحددة. يمكنك تغيير ذلك لاحقًا من صف المفتاح.","skip": "ليس الآن","scopedOne": "المفتاح مقيّد بنموذج واحد",- "scopedOther": "المفتاح مقيّد بـ {count} نماذج"+ "scopedOther": "المفتاح مقيّد بـ {count} نماذج",+ "allSaved": "Key serves every catalog model"},"cpTitle": "ملفات تعريف العملاء","cpDesc": "مفاتيح API لكل عميل، لكل منها موجّه نظام يطبّقه الخادم دائمًا.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "تحرير المفتاح",+ "editPlatformLocked": "لا يمكن تغيير المزوّد أو نقطة النهاية بعد الإنشاء.",+ "editCredentialHint": "اتركه فارغاً للاحتفاظ بالمفتاح الحالي.",+ "editCredentialPartsRequired": "أدخل معرّف الحساب ورمز API معاً.",+ "editModels": "تحرير النماذج",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/az.json b/client/src/i18n/locales/az.jsonindex 9dee3421..55ec0719 100644--- a/client/src/i18n/locales/az.json+++ b/client/src/i18n/locales/az.json@@ -588,7 +588,8 @@"subsetNote": "Bu açar yalnız seçilmiş modellərlə məhdudlaşacaq. Bunu sonra açarın sətrindən dəyişə bilərsiniz.","skip": "İndi yox","scopedOne": "Açar 1 modellə məhdudlaşdırıldı",- "scopedOther": "Açar {count} modellə məhdudlaşdırıldı"+ "scopedOther": "Açar {count} modellə məhdudlaşdırıldı",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Müştəri profilləri","cpDesc": "Hər müştəri üçün ayrıca API açarı; onun sistem promptunu server həmişə tətbiq edir.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Açarı redaktə et",+ "editPlatformLocked": "Yaratmadan sonra provayderi və son nöqtəni dəyişmək olmaz.",+ "editCredentialHint": "Cari açarı saxlamaq üçün boş buraxın.",+ "editCredentialPartsRequired": "Həm hesab ID-sini, həm API tokenini daxil edin.",+ "editModels": "Modelləri redaktə et",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/bg.json b/client/src/i18n/locales/bg.jsonindex 55e9475e..52b49b79 100644--- a/client/src/i18n/locales/bg.json+++ b/client/src/i18n/locales/bg.json@@ -588,7 +588,8 @@"subsetNote": "Този ключ ще бъде ограничен до избраните модели. Можете да промените това по-късно от реда на ключа.","skip": "Не сега","scopedOne": "Ключът е ограничен до 1 модел",- "scopedOther": "Ключът е ограничен до {count} модела"+ "scopedOther": "Ключът е ограничен до {count} модела",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Клиентски профили","cpDesc": "Отделни API ключове за всеки клиент, всеки със системен промпт, който сървърът винаги прилага.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Редактиране на ключ",+ "editPlatformLocked": "Доставчикът и крайната точка не могат да се променят след създаване.",+ "editCredentialHint": "Оставете празно, за да запазите текущия ключ.",+ "editCredentialPartsRequired": "Въведете и ID на акаунта, и API токен.",+ "editModels": "Редактиране на моделите",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/bn.json b/client/src/i18n/locales/bn.jsonindex 1a611e38..cfeaa87a 100644--- a/client/src/i18n/locales/bn.json+++ b/client/src/i18n/locales/bn.json@@ -588,7 +588,8 @@"subsetNote": "এই কী শুধুমাত্র নির্বাচিত মডেলগুলিতে সীমাবদ্ধ থাকবে। আপনি পরে কী-এর সারি থেকে এটি পরিবর্তন করতে পারবেন।","skip": "এখন নয়","scopedOne": "কী 1টি মডেলে সীমাবদ্ধ",- "scopedOther": "কী {count}টি মডেলে সীমাবদ্ধ"+ "scopedOther": "কী {count}টি মডেলে সীমাবদ্ধ",+ "allSaved": "Key serves every catalog model"},"cpTitle": "ক্লায়েন্ট প্রোফাইল","cpDesc": "প্রতিটি ক্লায়েন্টের জন্য আলাদা API কী, যার সিস্টেম প্রম্পট সার্ভার সবসময় প্রয়োগ করে।",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "কী সম্পাদনা করুন",+ "editPlatformLocked": "তৈরির পরে প্রোভাইডার বা এন্ডপয়েন্ট পরিবর্তন করা যাবে না।",+ "editCredentialHint": "বর্তমান কী রাখতে ফাঁকা রাখুন।",+ "editCredentialPartsRequired": "অ্যাকাউন্ট আইডি ও API টোকেন—দুটিই দিন।",+ "editModels": "মডেল সম্পাদনা",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/cs.json b/client/src/i18n/locales/cs.jsonindex 109f54c9..12e1771f 100644--- a/client/src/i18n/locales/cs.json+++ b/client/src/i18n/locales/cs.json@@ -588,7 +588,8 @@"subsetNote": "Tento klíč bude omezen na vybrané modely. Změnit to můžete později v řádku klíče.","skip": "Teď ne","scopedOne": "Klíč omezen na 1 model",- "scopedOther": "Klíč omezen na {count} modelů"+ "scopedOther": "Klíč omezen na {count} modelů",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Profily klientů","cpDesc": "Samostatné API klíče pro každého klienta, každý se systémovým promptem, který server vždy použije.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Upravit klíč",+ "editPlatformLocked": "Poskytovatel a koncový bod se po vytvoření nedají změnit.",+ "editCredentialHint": "Chcete-li zachovat aktuální klíč, ponechte pole prázdné.",+ "editCredentialPartsRequired": "Zadejte ID účtu i token API.",+ "editModels": "Upravit modely",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/da.json b/client/src/i18n/locales/da.jsonindex c99f2b67..e48e129f 100644--- a/client/src/i18n/locales/da.json+++ b/client/src/i18n/locales/da.json@@ -588,7 +588,8 @@"subsetNote": "Nøglen begrænses til de valgte modeller. Du kan ændre det senere fra nøglens række.","skip": "Ikke nu","scopedOne": "Nøgle begrænset til 1 model",- "scopedOther": "Nøgle begrænset til {count} modeller"+ "scopedOther": "Nøgle begrænset til {count} modeller",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Klientprofiler","cpDesc": "API-nøgler pr. klient, hver med en systemprompt som serveren altid anvender.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Redigér nøgle",+ "editPlatformLocked": "Udbyder og endpoint kan ikke ændres efter oprettelsen.",+ "editCredentialHint": "Lad feltet stå tomt for at beholde den aktuelle nøgle.",+ "editCredentialPartsRequired": "Indtast både konto-ID og API-token.",+ "editModels": "Redigér modeller",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/de.json b/client/src/i18n/locales/de.jsonindex aabd4f97..981f3a34 100644--- a/client/src/i18n/locales/de.json+++ b/client/src/i18n/locales/de.json@@ -588,7 +588,8 @@"subsetNote": "Dieser Schlüssel wird auf die ausgewählten Modelle beschränkt. Sie können dies später in der Zeile des Schlüssels ändern.","skip": "Jetzt nicht","scopedOne": "Schlüssel auf 1 Modell begrenzt",- "scopedOther": "Schlüssel auf {count} Modelle begrenzt"+ "scopedOther": "Schlüssel auf {count} Modelle begrenzt",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Client-Profile","cpDesc": "API-Schlüssel pro Client, jeweils mit einem System-Prompt, den der Server immer anwendet.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Schlüssel bearbeiten",+ "editPlatformLocked": "Anbieter und Endpoint können nach dem Erstellen nicht geändert werden.",+ "editCredentialHint": "Leer lassen, um den aktuellen Schlüssel zu behalten.",+ "editCredentialPartsRequired": "Gib sowohl die Konto-ID als auch das API-Token ein.",+ "editModels": "Modelle bearbeiten",+ "editModelsHint": "Wähle, welche Katalogmodelle dieser Schlüssel bedienen darf. Alles auswählen entfernt die Einschränkung.",+ "editModelsCustomHint": "Wähle, welche registrierten Endpoint-Modelle dieser Schlüssel bedienen darf. Alles auswählen entfernt die Einschränkung.",+ "editModelsSync": "Katalogaktualisierungen prüfen",+ "editModelsSyncing": "Prüfen…",+ "editModelsSynced": "Modellkatalog geprüft"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/el.json b/client/src/i18n/locales/el.jsonindex 7d5f696b..52646058 100644--- a/client/src/i18n/locales/el.json+++ b/client/src/i18n/locales/el.json@@ -588,7 +588,8 @@"subsetNote": "Αυτό το κλειδί θα περιοριστεί στα επιλεγμένα μοντέλα. Μπορείτε να το αλλάξετε αργότερα από τη γραμμή του κλειδιού.","skip": "Όχι τώρα","scopedOne": "Το κλειδί περιορίζεται σε 1 μοντέλο",- "scopedOther": "Το κλειδί περιορίζεται σε {count} μοντέλα"+ "scopedOther": "Το κλειδί περιορίζεται σε {count} μοντέλα",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Προφίλ πελατών","cpDesc": "Κλειδιά API ανά πελάτη, καθένα με ένα system prompt που ο διακομιστής εφαρμόζει πάντα.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Επεξεργασία κλειδιού",+ "editPlatformLocked": "Ο πάροχος και το endpoint δεν αλλάζουν μετά τη δημιουργία.",+ "editCredentialHint": "Αφήστε το κενό για να διατηρηθεί το τρέχον κλειδί.",+ "editCredentialPartsRequired": "Εισάγετε το ID λογαριασμού και το API token.",+ "editModels": "Επεξεργασία μοντέλων",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/en.json b/client/src/i18n/locales/en.jsonindex 20f47ef4..86d8c010 100644--- a/client/src/i18n/locales/en.json+++ b/client/src/i18n/locales/en.json@@ -511,6 +511,16 @@"deleteKeyConfirm": "Delete this key? This cannot be undone.","checkAll": "Check all","checking": "Checking…",+ "editKey": "Edit key",+ "editPlatformLocked": "The provider and endpoint cannot change after creation.",+ "editCredentialHint": "Leave blank to keep the current key.",+ "editCredentialPartsRequired": "Enter both the account ID and API token.",+ "editModels": "Edit models",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked","editLabel": "Edit label","saveLabel": "Save label","unifiedKeyDescBefore": "Use this as your OpenAI ",@@ -591,6 +601,7 @@"allNote": "Everything selected — nothing is saved, and models added to the catalog later will use this key too.","subsetNote": "This key will be limited to the selected models. You can change this later from the key's row.","skip": "Not now",+ "allSaved": "Key serves every catalog model","scopedOne": "Key limited to 1 model","scopedOther": "Key limited to {count} models"},diff --git a/client/src/i18n/locales/es.json b/client/src/i18n/locales/es.jsonindex 9ffaf74c..dd70af8e 100644--- a/client/src/i18n/locales/es.json+++ b/client/src/i18n/locales/es.json@@ -588,7 +588,8 @@"subsetNote": "Esta clave se limitará a los modelos seleccionados. Puedes cambiarlo más adelante desde la fila de la clave.","skip": "Ahora no","scopedOne": "Clave limitada a 1 modelo",- "scopedOther": "Clave limitada a {count} modelos"+ "scopedOther": "Clave limitada a {count} modelos",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Perfiles de cliente","cpDesc": "Claves API por cliente, cada una con un prompt de sistema que el servidor aplica siempre.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Editar clave",+ "editPlatformLocked": "El proveedor y el endpoint no pueden cambiarse después de crearlos.",+ "editCredentialHint": "Déjalo vacío para conservar la clave actual.",+ "editCredentialPartsRequired": "Introduce tanto el ID de cuenta como el token de API.",+ "editModels": "Editar modelos",+ "editModelsHint": "Elige qué modelos del catálogo puede servir esta clave. Selecciona todo para quitar la restricción.",+ "editModelsCustomHint": "Elige qué modelos registrados del endpoint puede servir esta clave. Selecciona todo para quitar la restricción.",+ "editModelsSync": "Comprobar actualizaciones del catálogo",+ "editModelsSyncing": "Comprobando…",+ "editModelsSynced": "Catálogo de modelos comprobado"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/fa.json b/client/src/i18n/locales/fa.jsonindex a41135f1..5b013b30 100644--- a/client/src/i18n/locales/fa.json+++ b/client/src/i18n/locales/fa.json@@ -588,7 +588,8 @@"subsetNote": "این کلید فقط به مدلهای انتخابشده محدود میشود. بعداً میتوانید این را از ردیف کلید تغییر دهید.","skip": "الان نه","scopedOne": "کلید به 1 مدل محدود شد",- "scopedOther": "کلید به {count} مدل محدود شد"+ "scopedOther": "کلید به {count} مدل محدود شد",+ "allSaved": "Key serves every catalog model"},"cpTitle": "پروفایلهای کلاینت","cpDesc": "کلیدهای API جداگانه برای هر کلاینت، هرکدام با یک پرامپت سیستمی که سرور همیشه اعمال میکند.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "ویرایش کلید",+ "editPlatformLocked": "تغییر ارائهدهنده و نقطه پایانی پس از ساخت ممکن نیست.",+ "editCredentialHint": "برای حفظ کلید فعلی خالی بگذارید.",+ "editCredentialPartsRequired": "هم شناسه حساب و هم توکن API را وارد کنید.",+ "editModels": "ویرایش مدلها",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/fi.json b/client/src/i18n/locales/fi.jsonindex f7d8d206..b73a08fa 100644--- a/client/src/i18n/locales/fi.json+++ b/client/src/i18n/locales/fi.json@@ -588,7 +588,8 @@"subsetNote": "Avain rajataan valittuihin malleihin. Voit muuttaa tätä myöhemmin avaimen riviltä.","skip": "Ei nyt","scopedOne": "Avain rajattu 1 malliin",- "scopedOther": "Avain rajattu {count} malliin"+ "scopedOther": "Avain rajattu {count} malliin",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Asiakasprofiilit","cpDesc": "API-avaimet asiakaskohtaisesti, kullakin järjestelmäkehote, jonka palvelin lisää aina.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Muokkaa avainta",+ "editPlatformLocked": "Palveluntarjoajaa ja endpointiä ei voi muuttaa luomisen jälkeen.",+ "editCredentialHint": "Säilytä nykyinen avain jättämällä kenttä tyhjäksi.",+ "editCredentialPartsRequired": "Syötä sekä tilin tunnus että API-tunnus.",+ "editModels": "Muokkaa malleja",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/fr.json b/client/src/i18n/locales/fr.jsonindex a8358e16..cbee4343 100644--- a/client/src/i18n/locales/fr.json+++ b/client/src/i18n/locales/fr.json@@ -588,7 +588,8 @@"subsetNote": "Cette clé sera limitée aux modèles sélectionnés. Vous pourrez modifier cela plus tard depuis la ligne de la clé.","skip": "Pas maintenant","scopedOne": "Clé limitée à 1 modèle",- "scopedOther": "Clé limitée à {count} modèles"+ "scopedOther": "Clé limitée à {count} modèles",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Profils client","cpDesc": "Des clés API par client, chacune avec un prompt système que le serveur applique toujours.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Test en cours…","proxyTestOk": "Le proxy fonctionne — aller-retour en {ms} ms",- "proxyTestFail": "Échec du proxy : {reason}"+ "proxyTestFail": "Échec du proxy : {reason}",+ "editKey": "Modifier la clé",+ "editPlatformLocked": "Le fournisseur et l’endpoint ne peuvent pas être modifiés après la création.",+ "editCredentialHint": "Laissez vide pour conserver la clé actuelle.",+ "editCredentialPartsRequired": "Saisissez à la fois l’ID de compte et le jeton d’API.",+ "editModels": "Modifier les modèles",+ "editModelsHint": "Choisissez les modèles du catalogue que cette clé peut servir. Tout sélectionner supprime la restriction.",+ "editModelsCustomHint": "Choisissez les modèles enregistrés du endpoint que cette clé peut servir. Tout sélectionner supprime la restriction.",+ "editModelsSync": "Vérifier les mises à jour du catalogue",+ "editModelsSyncing": "Vérification…",+ "editModelsSynced": "Catalogue de modèles vérifié"},"backups": {"title": "Sauvegardes",diff --git a/client/src/i18n/locales/gu.json b/client/src/i18n/locales/gu.jsonindex 4303fedf..b0a8a504 100644--- a/client/src/i18n/locales/gu.json+++ b/client/src/i18n/locales/gu.json@@ -588,7 +588,8 @@"subsetNote": "આ કી ફક્ત પસંદ કરેલા મૉડલ પૂરતી મર્યાદિત રહેશે. તમે આ પછીથી કીની હરોળમાંથી બદલી શકો છો.","skip": "હમણાં નહીં","scopedOne": "કી 1 મૉડલ પૂરતી મર્યાદિત",- "scopedOther": "કી {count} મૉડલ પૂરતી મર્યાદિત"+ "scopedOther": "કી {count} મૉડલ પૂરતી મર્યાદિત",+ "allSaved": "Key serves every catalog model"},"cpTitle": "ક્લાયન્ટ પ્રોફાઇલ","cpDesc": "દરેક ક્લાયન્ટ માટે અલગ API કી, જેનો સિસ્ટમ પ્રોમ્પ્ટ સર્વર હંમેશાં લાગુ કરે છે.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "કી સંપાદિત કરો",+ "editPlatformLocked": "બનાવ્યા પછી પ્રદાતા અથવા એન્ડપોઇન્ટ બદલી શકાતા નથી.",+ "editCredentialHint": "વર્તમાન કી રાખવા ખાલી રાખો.",+ "editCredentialPartsRequired": "એકાઉન્ટ ID અને API ટોકન બંને દાખલ કરો.",+ "editModels": "મોડેલ્સ સંપાદિત કરો",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ha.json b/client/src/i18n/locales/ha.jsonindex 2f049ada..0d5631cd 100644--- a/client/src/i18n/locales/ha.json+++ b/client/src/i18n/locales/ha.json@@ -588,7 +588,8 @@"subsetNote": "Wannan maɓalli zai iyakantu ga samfuran da aka zaɓa. Za ka iya canja wannan daga baya a jerin maɓallin.","skip": "Ba yanzu ba","scopedOne": "An iyakance maɓalli ga samfuri 1",- "scopedOther": "An iyakance maɓalli ga samfura {count}"+ "scopedOther": "An iyakance maɓalli ga samfura {count}",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Bayanan martabar abokan ciniki","cpDesc": "Maɓallan API na kowane abokin ciniki, kowanne da umarnin tsarin da sabar ke amfani da shi koyaushe.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Gyara maɓallin",+ "editPlatformLocked": "Ba a iya canza mai bayarwa ko endpoint bayan ƙirƙira ba.",+ "editCredentialHint": "Bar sarari don rike maɓallin na yanzu.",+ "editCredentialPartsRequired": "Shigar da ID na asusu da API token tare.",+ "editModels": "Gyara samfura",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/he.json b/client/src/i18n/locales/he.jsonindex 4d5a7aa1..973a1709 100644--- a/client/src/i18n/locales/he.json+++ b/client/src/i18n/locales/he.json@@ -588,7 +588,8 @@"subsetNote": "המפתח הזה יוגבל למודלים שנבחרו. אפשר לשנות זאת בהמשך משורת המפתח.","skip": "לא עכשיו","scopedOne": "המפתח מוגבל למודל אחד",- "scopedOther": "המפתח מוגבל ל-{count} מודלים"+ "scopedOther": "המפתח מוגבל ל-{count} מודלים",+ "allSaved": "Key serves every catalog model"},"cpTitle": "פרופילי לקוח","cpDesc": "מפתחות API לכל לקוח, לכל אחד הנחיית מערכת שהשרת מחיל תמיד.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "עריכת מפתח",+ "editPlatformLocked": "לא ניתן לשנות את הספק ונקודת הקצה לאחר היצירה.",+ "editCredentialHint": "השאר ריק כדי לשמור על המפתח הנוכחי.",+ "editCredentialPartsRequired": "יש להזין גם מזהה חשבון וגם אסימון API.",+ "editModels": "עריכת מודלים",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/hi.json b/client/src/i18n/locales/hi.jsonindex 3e7c1c78..ade7f83d 100644--- a/client/src/i18n/locales/hi.json+++ b/client/src/i18n/locales/hi.json@@ -588,7 +588,8 @@"subsetNote": "यह कुंजी केवल चुने गए मॉडलों तक सीमित रहेगी। आप इसे बाद में कुंजी की पंक्ति से बदल सकते हैं।","skip": "अभी नहीं","scopedOne": "कुंजी 1 मॉडल तक सीमित",- "scopedOther": "कुंजी {count} मॉडलों तक सीमित"+ "scopedOther": "कुंजी {count} मॉडलों तक सीमित",+ "allSaved": "Key serves every catalog model"},"cpTitle": "क्लाइंट प्रोफ़ाइल","cpDesc": "हर क्लाइंट के लिए अलग API कुंजी, जिसके सिस्टम प्रॉम्प्ट को सर्वर हमेशा लागू करता है।",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "कुंजी संपादित करें",+ "editPlatformLocked": "बनाने के बाद प्रदाता और एंडपॉइंट नहीं बदले जा सकते।",+ "editCredentialHint": "मौजूदा कुंजी रखने के लिए खाली छोड़ें।",+ "editCredentialPartsRequired": "अकाउंट ID और API टोकन दोनों दर्ज करें।",+ "editModels": "मॉडल संपादित करें",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/hr.json b/client/src/i18n/locales/hr.jsonindex 1b6e8900..c65d17fd 100644--- a/client/src/i18n/locales/hr.json+++ b/client/src/i18n/locales/hr.json@@ -588,7 +588,8 @@"subsetNote": "Ovaj će ključ biti ograničen na odabrane modele. To možete promijeniti kasnije u retku ključa.","skip": "Ne sada","scopedOne": "Ključ je ograničen na 1 model",- "scopedOther": "Ključ je ograničen na {count} modela"+ "scopedOther": "Ključ je ograničen na {count} modela",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Profili klijenata","cpDesc": "API ključevi po klijentu, svaki sa sistemskim promptom koji poslužitelj uvijek primjenjuje.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Uredi ključ",+ "editPlatformLocked": "Davatelj usluga i krajnja točka ne mogu se promijeniti nakon stvaranja.",+ "editCredentialHint": "Ostavite prazno da biste zadržali trenutačni ključ.",+ "editCredentialPartsRequired": "Unesite i ID računa i API token.",+ "editModels": "Uredi modele",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/hu.json b/client/src/i18n/locales/hu.jsonindex aeff5b5f..0ab56b05 100644--- a/client/src/i18n/locales/hu.json+++ b/client/src/i18n/locales/hu.json@@ -588,7 +588,8 @@"subsetNote": "Ez a kulcs a kijelölt modellekre lesz korlátozva. Ezt később a kulcs sorában módosíthatja.","skip": "Most nem","scopedOne": "A kulcs 1 modellre korlátozva",- "scopedOther": "A kulcs {count} modellre korlátozva"+ "scopedOther": "A kulcs {count} modellre korlátozva",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Kliensprofilok","cpDesc": "Kliensenkénti API-kulcsok, mindegyikhez saját rendszerprompt, amelyet a szerver mindig alkalmaz.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Kulcs szerkesztése",+ "editPlatformLocked": "A szolgáltató és a végpont a létrehozás után nem módosítható.",+ "editCredentialHint": "A jelenlegi kulcs megtartásához hagyja üresen.",+ "editCredentialPartsRequired": "Adja meg a fiókazonosítót és az API-jogkivonatot is.",+ "editModels": "Modellek szerkesztése",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/id.json b/client/src/i18n/locales/id.jsonindex 3e4ceea9..9e603050 100644--- a/client/src/i18n/locales/id.json+++ b/client/src/i18n/locales/id.json@@ -588,7 +588,8 @@"subsetNote": "Kunci ini akan dibatasi pada model yang dipilih. Anda dapat mengubahnya nanti dari baris kunci tersebut.","skip": "Nanti saja","scopedOne": "Kunci dibatasi ke 1 model",- "scopedOther": "Kunci dibatasi ke {count} model"+ "scopedOther": "Kunci dibatasi ke {count} model",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Profil klien","cpDesc": "Kunci API per klien, masing-masing dengan prompt sistem yang selalu diterapkan server.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Edit kunci",+ "editPlatformLocked": "Penyedia dan endpoint tidak dapat diubah setelah dibuat.",+ "editCredentialHint": "Biarkan kosong untuk mempertahankan kunci saat ini.",+ "editCredentialPartsRequired": "Masukkan ID akun dan token API.",+ "editModels": "Edit model",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ig.json b/client/src/i18n/locales/ig.jsonindex 2226cdfb..09bfe37b 100644--- a/client/src/i18n/locales/ig.json+++ b/client/src/i18n/locales/ig.json@@ -588,7 +588,8 @@"subsetNote": "A ga-ejedebe igodo a naanị na ụdị ndị ahọpụtara. Ị nwere ike ịgbanwe nke a mgbe e mesịrị site n'ahịrị igodo ahụ.","skip": "Ọ bụghị ugbu a","scopedOne": "Igodo ejedebere na model 1",- "scopedOther": "Igodo ejedebere na model {count}"+ "scopedOther": "Igodo ejedebere na model {count}",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Profaịlụ ndị ahịa","cpDesc": "Igodo API maka onye ahịa ọ bụla, nke ọ bụla nwere ntụziaka sistemu nke sava na-etinye mgbe niile.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Dezie klị",+ "editPlatformLocked": "Enye onye nyere ma ọ bụ njedebe agaghị agbanwe mgbe e kere ya.",+ "editCredentialHint": "Hapụ oghere i jiri klị ugbu a.",+ "editCredentialPartsRequired": "Tinye ma ID akaụntụ na token API.",+ "editModels": "Dezie nlerecha",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/it.json b/client/src/i18n/locales/it.jsonindex bec3ca60..c2914241 100644--- a/client/src/i18n/locales/it.json+++ b/client/src/i18n/locales/it.json@@ -588,7 +588,8 @@"subsetNote": "Questa chiave sarà limitata ai modelli selezionati. Puoi cambiarlo in seguito dalla riga della chiave.","skip": "Non ora","scopedOne": "Chiave limitata a 1 modello",- "scopedOther": "Chiave limitata a {count} modelli"+ "scopedOther": "Chiave limitata a {count} modelli",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Profili client","cpDesc": "Chiavi API per singolo client, ognuna con un prompt di sistema che il server applica sempre.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Modifica chiave",+ "editPlatformLocked": "Il provider e l’endpoint non possono essere modificati dopo la creazione.",+ "editCredentialHint": "Lascia vuoto per conservare la chiave attuale.",+ "editCredentialPartsRequired": "Inserisci sia l’ID account che il token API.",+ "editModels": "Modifica modelli",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ja.json b/client/src/i18n/locales/ja.jsonindex ab77e746..b796e8bb 100644--- a/client/src/i18n/locales/ja.json+++ b/client/src/i18n/locales/ja.json@@ -588,7 +588,8 @@"subsetNote": "このキーは選択したモデルに限定されます。この設定は後からキーの行で変更できます。","skip": "今はしない","scopedOne": "キーを 1 モデルに限定しました",- "scopedOther": "キーを {count} モデルに限定しました"+ "scopedOther": "キーを {count} モデルに限定しました",+ "allSaved": "Key serves every catalog model"},"cpTitle": "クライアントプロファイル","cpDesc": "クライアントごとの API キー。それぞれのシステムプロンプトをサーバーが常に適用します。",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "キーを編集",+ "editPlatformLocked": "作成後にプロバイダーとエンドポイントは変更できません。",+ "editCredentialHint": "現在のキーを保持するには空欄のままにしてください。",+ "editCredentialPartsRequired": "アカウント ID と API トークンの両方を入力してください。",+ "editModels": "モデルを編集",+ "editModelsHint": "このキーが利用できるカタログモデルを選択します。すべて選択すると制限が解除されます。",+ "editModelsCustomHint": "このキーが利用できる登録済みエンドポイントモデルを選択します。すべて選択すると制限が解除されます。",+ "editModelsSync": "カタログの更新を確認",+ "editModelsSyncing": "確認中…",+ "editModelsSynced": "モデルカタログを確認しました"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ka.json b/client/src/i18n/locales/ka.jsonindex 3b34dfa0..885df473 100644--- a/client/src/i18n/locales/ka.json+++ b/client/src/i18n/locales/ka.json@@ -588,7 +588,8 @@"subsetNote": "ეს გასაღები შეიზღუდება მონიშნული მოდელებით. ამის შეცვლა მოგვიანებით გასაღების სტრიქონიდან შეგიძლიათ.","skip": "ახლა არა","scopedOne": "გასაღები შეზღუდულია 1 მოდელით",- "scopedOther": "გასაღები შეზღუდულია {count} მოდელით"+ "scopedOther": "გასაღები შეზღუდულია {count} მოდელით",+ "allSaved": "Key serves every catalog model"},"cpTitle": "კლიენტის პროფილები","cpDesc": "ცალკე API გასაღები თითოეული კლიენტისთვის, თითოეულს აქვს სისტემური პრომპტი, რომელსაც სერვერი ყოველთვის იყენებს.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "გასაღების რედაქტირება",+ "editPlatformLocked": "შექმნის შემდეგ მომწოდებლისა და საბოლოო წერტილის შეცვლა შეუძლებელია.",+ "editCredentialHint": "მიმდინარე გასაღების შესანარჩუნებლად დატოვეთ ცარიელი.",+ "editCredentialPartsRequired": "შეიყვანეთ ანგარიშის ID და API ტოკენი.",+ "editModels": "მოდელების რედაქტირება",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/km.json b/client/src/i18n/locales/km.jsonindex 3f7552c6..b8421162 100644--- a/client/src/i18n/locales/km.json+++ b/client/src/i18n/locales/km.json@@ -588,7 +588,8 @@"subsetNote": "កូនសោនេះនឹងត្រូវកំណត់ត្រឹមម៉ូដែលដែលបានជ្រើសរើស។ អ្នកអាចផ្លាស់ប្តូរវានៅពេលក្រោយពីជួរដេករបស់កូនសោ។","skip": "មិនមែនឥឡូវទេ","scopedOne": "កូនសោកំណត់ត្រឹមម៉ូដែល 1",- "scopedOther": "កូនសោកំណត់ត្រឹមម៉ូដែល {count}"+ "scopedOther": "កូនសោកំណត់ត្រឹមម៉ូដែល {count}",+ "allSaved": "Key serves every catalog model"},"cpTitle": "ប្រវត្តិរូបអតិថិជន","cpDesc": "សោ API សម្រាប់អតិថិជននីមួយៗ ដែលមាន system prompt ដែលម៉ាស៊ីនមេអនុវត្តជានិច្ច។",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "កែសម្រួលកូនសោ",+ "editPlatformLocked": "មិនអាចផ្លាស់ប្ដូរក្រុមហ៊ុនផ្ដល់សេវា ឬចំណុចបញ្ចប់បានទេ បន្ទាប់ពីបង្កើត។",+ "editCredentialHint": "ទុកចំហរ ដើម្បីរក្សាកូនសោបច្ចុប្បន្ន។",+ "editCredentialPartsRequired": "សូមបញ្ចូលទាំង ID គណនី និង token API។",+ "editModels": "កែសម្រួលម៉ូដេល",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/kn.json b/client/src/i18n/locales/kn.jsonindex e6e3d584..0545abd6 100644--- a/client/src/i18n/locales/kn.json+++ b/client/src/i18n/locales/kn.json@@ -588,7 +588,8 @@"subsetNote": "ಈ ಕೀ ಆಯ್ಕೆ ಮಾಡಿದ ಮಾಡೆಲ್ಗಳಿಗೆ ಮಾತ್ರ ಸೀಮಿತವಾಗಿರುತ್ತದೆ. ಇದನ್ನು ನೀವು ನಂತರ ಕೀಯ ಸಾಲಿನಿಂದ ಬದಲಾಯಿಸಬಹುದು.","skip": "ಈಗ ಬೇಡ","scopedOne": "ಕೀ 1 ಮಾಡೆಲ್ಗೆ ಸೀಮಿತ",- "scopedOther": "ಕೀ {count} ಮಾಡೆಲ್ಗಳಿಗೆ ಸೀಮಿತ"+ "scopedOther": "ಕೀ {count} ಮಾಡೆಲ್ಗಳಿಗೆ ಸೀಮಿತ",+ "allSaved": "Key serves every catalog model"},"cpTitle": "ಕ್ಲೈಂಟ್ ಪ್ರೊಫೈಲ್ಗಳು","cpDesc": "ಪ್ರತಿ ಕ್ಲೈಂಟ್ಗೆ ಪ್ರತ್ಯೇಕ API ಕೀ; ಅದರ ಸಿಸ್ಟಂ ಪ್ರಾಂಪ್ಟ್ ಅನ್ನು ಸರ್ವರ್ ಯಾವಾಗಲೂ ಅನ್ವಯಿಸುತ್ತದೆ.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "ಕೀ ಸಂಪಾದಿಸಿ",+ "editPlatformLocked": "ರಚಿಸಿದ ನಂತರ ಪೂರೈಕೆದಾರ ಅಥವಾ ಎಂಡ್ಪಾಯಿಂಟ್ ಬದಲಾಯಿಸಲಾಗುವುದಿಲ್ಲ.",+ "editCredentialHint": "ಪ್ರಸ್ತುತ ಕೀ ಉಳಿಸಲು ಖಾಲಿ ಬಿಡಿ.",+ "editCredentialPartsRequired": "ಖಾತೆ ID ಮತ್ತು API ಟೋಕನ್ ಎರಡನ್ನೂ ನಮೂದಿಸಿ.",+ "editModels": "ಮಾದರಿಗಳನ್ನು ಸಂಪಾದಿಸಿ",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ko.json b/client/src/i18n/locales/ko.jsonindex f1659b77..b67e971a 100644--- a/client/src/i18n/locales/ko.json+++ b/client/src/i18n/locales/ko.json@@ -588,7 +588,8 @@"subsetNote": "이 키는 선택한 모델로 제한됩니다. 나중에 키 행에서 변경할 수 있습니다.","skip": "나중에","scopedOne": "키가 모델 1개로 제한됨",- "scopedOther": "키가 모델 {count}개로 제한됨"+ "scopedOther": "키가 모델 {count}개로 제한됨",+ "allSaved": "Key serves every catalog model"},"cpTitle": "클라이언트 프로필","cpDesc": "클라이언트별 API 키로, 각 키의 시스템 프롬프트를 서버가 항상 적용합니다.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "키 편집",+ "editPlatformLocked": "생성 후에는 공급자와 엔드포인트를 변경할 수 없습니다.",+ "editCredentialHint": "현재 키를 유지하려면 비워 두세요.",+ "editCredentialPartsRequired": "계정 ID와 API 토큰을 모두 입력하세요.",+ "editModels": "모델 편집",+ "editModelsHint": "이 키가 제공할 수 있는 카탈로그 모델을 선택하세요. 모두 선택하면 범위가 지워집니다.",+ "editModelsCustomHint": "이 키가 제공할 수 있는 등록된 엔드포인트 모델을 선택하세요. 모두 선택하면 범위가 지워집니다.",+ "editModelsSync": "카탈로그 업데이트 확인",+ "editModelsSyncing": "확인 중…",+ "editModelsSynced": "모델 카탈로그를 확인했습니다"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/lt.json b/client/src/i18n/locales/lt.jsonindex 46f565a2..686c70b8 100644--- a/client/src/i18n/locales/lt.json+++ b/client/src/i18n/locales/lt.json@@ -588,7 +588,8 @@"subsetNote": "Šis raktas bus apribotas pasirinktais modeliais. Tai galėsite pakeisti vėliau rakto eilutėje.","skip": "Ne dabar","scopedOne": "Raktas apribotas 1 modeliu",- "scopedOther": "Raktas apribotas iki {count} modelių"+ "scopedOther": "Raktas apribotas iki {count} modelių",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Klientų profiliai","cpDesc": "Atskiri API raktai kiekvienam klientui, kiekvienas su sisteminiu promptu, kurį serveris visada taiko.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Redaguoti raktą",+ "editPlatformLocked": "Po kūrimo tiekėjo ir galinio taško keisti negalima.",+ "editCredentialHint": "Palikite tuščią, jei norite naudoti dabartinį raktą.",+ "editCredentialPartsRequired": "Įveskite ir paskyros ID, ir API prieigos raktą.",+ "editModels": "Redaguoti modelius",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ml.json b/client/src/i18n/locales/ml.jsonindex e4fc3f64..68964db7 100644--- a/client/src/i18n/locales/ml.json+++ b/client/src/i18n/locales/ml.json@@ -588,7 +588,8 @@"subsetNote": "ഈ കീ തിരഞ്ഞെടുത്ത മോഡലുകളിലേക്ക് മാത്രം പരിമിതപ്പെടും. ഇത് പിന്നീട് കീയുടെ വരിയിൽ നിന്ന് മാറ്റാം.","skip": "ഇപ്പോൾ വേണ്ട","scopedOne": "കീ 1 മോഡലിലേക്ക് പരിമിതം",- "scopedOther": "കീ {count} മോഡലുകളിലേക്ക് പരിമിതം"+ "scopedOther": "കീ {count} മോഡലുകളിലേക്ക് പരിമിതം",+ "allSaved": "Key serves every catalog model"},"cpTitle": "ക്ലയന്റ് പ്രൊഫൈലുകൾ","cpDesc": "ഓരോ ക്ലയന്റിനും പ്രത്യേക API കീ; അതിന്റെ സിസ്റ്റം പ്രോംപ്റ്റ് സെർവർ എപ്പോഴും പ്രയോഗിക്കുന്നു.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "കീ എഡിറ്റ് ചെയ്യുക",+ "editPlatformLocked": "സൃഷ്ടിച്ചതിന് ശേഷം പ്രൊവൈഡറും എൻഡ്പോയിന്റും മാറ്റാൻ കഴിയില്ല.",+ "editCredentialHint": "നിലവിലെ കീ നിലനിർത്താൻ ശൂന്യമായി വയ്ക്കുക.",+ "editCredentialPartsRequired": "അക്കൗണ്ട് ID-യും API ടോക്കനും രണ്ടും നൽകുക.",+ "editModels": "മോഡലുകൾ എഡിറ്റ് ചെയ്യുക",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/mr.json b/client/src/i18n/locales/mr.jsonindex 15857e1e..4df746f9 100644--- a/client/src/i18n/locales/mr.json+++ b/client/src/i18n/locales/mr.json@@ -588,7 +588,8 @@"subsetNote": "ही की फक्त निवडलेल्या मॉडेल्सपुरती मर्यादित राहील. तुम्ही हे नंतर कीच्या ओळीतून बदलू शकता.","skip": "आत्ता नको","scopedOne": "की 1 मॉडेलपुरती मर्यादित",- "scopedOther": "की {count} मॉडेल्सपुरती मर्यादित"+ "scopedOther": "की {count} मॉडेल्सपुरती मर्यादित",+ "allSaved": "Key serves every catalog model"},"cpTitle": "क्लायंट प्रोफाइल","cpDesc": "प्रत्येक क्लायंटसाठी वेगळी API की, जिचा सिस्टम प्रॉम्प्ट सर्व्हर नेहमी लागू करतो.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "की संपादा",+ "editPlatformLocked": "तयार केल्यानंतर पुरवठादार आणि एंडपॉइंट बदलता येत नाही.",+ "editCredentialHint": "सध्याची की ठेवण्यासाठी रिकामे ठेवा.",+ "editCredentialPartsRequired": "खाते ID आणि API टोकन दोन्ही टाका.",+ "editModels": "मॉडेल्स संपादा",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ms.json b/client/src/i18n/locales/ms.jsonindex 345c5597..ef785837 100644--- a/client/src/i18n/locales/ms.json+++ b/client/src/i18n/locales/ms.json@@ -588,7 +588,8 @@"subsetNote": "Kunci ini akan dihadkan kepada model yang dipilih. Anda boleh mengubahnya kemudian daripada baris kunci itu.","skip": "Bukan sekarang","scopedOne": "Kunci terhad kepada 1 model",- "scopedOther": "Kunci terhad kepada {count} model"+ "scopedOther": "Kunci terhad kepada {count} model",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Profil klien","cpDesc": "Kunci API bagi setiap klien, masing-masing dengan prompt sistem yang sentiasa digunakan oleh pelayan.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Edit kunci",+ "editPlatformLocked": "Penyedia dan endpoint tidak boleh diubah selepas dicipta.",+ "editCredentialHint": "Biarkan kosong untuk mengekalkan kunci semasa.",+ "editCredentialPartsRequired": "Masukkan ID akaun dan token API.",+ "editModels": "Edit model",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/my.json b/client/src/i18n/locales/my.jsonindex 08d3e4a7..e249ff0c 100644--- a/client/src/i18n/locales/my.json+++ b/client/src/i18n/locales/my.json@@ -588,7 +588,8 @@"subsetNote": "ဤကီးကို ရွေးထားသော မော်ဒယ်များအတွက်သာ ကန့်သတ်ပါမည်။ ၎င်းကို နောက်မှ ကီး၏ အတန်းမှ ပြောင်းလဲနိုင်ပါသည်။","skip": "ယခုမလုပ်ပါ","scopedOne": "ကီးကို မော်ဒယ် 1 ခုသာ ကန့်သတ်ထား",- "scopedOther": "ကီးကို မော်ဒယ် {count} ခုသာ ကန့်သတ်ထား"+ "scopedOther": "ကီးကို မော်ဒယ် {count} ခုသာ ကန့်သတ်ထား",+ "allSaved": "Key serves every catalog model"},"cpTitle": "ကလိုင်းယင့် ပရိုဖိုင်များ","cpDesc": "ကလိုင်းယင့်တစ်ခုချင်းစီအတွက် သီးခြား API ကီးများ၊ တစ်ခုစီတွင် ဆာဗာက အမြဲအသုံးပြုသည့် စနစ် prompt ပါရှိသည်။",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "ကီး တည်းဖြတ်ရန်",+ "editPlatformLocked": "ဖန်တီးပြီးလျှင် ပေးသွင်းသူနှင့် endpoint ကို ပြောင်းလဲ၍မရပါ။",+ "editCredentialHint": "လက်ရှိကီးကို ဆက်လက်အသုံးပြုရန် ကွက်လပ်ထားပါ။",+ "editCredentialPartsRequired": "အကောင့် ID နှင့် API token နှစ်ခုစလုံး ထည့်ပါ။",+ "editModels": "မော်ဒယ်များ တည်းဖြတ်ရန်",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ne.json b/client/src/i18n/locales/ne.jsonindex 51529945..d3def064 100644--- a/client/src/i18n/locales/ne.json+++ b/client/src/i18n/locales/ne.json@@ -588,7 +588,8 @@"subsetNote": "यो कुञ्जी छानिएका मोडेलहरूमा मात्र सीमित हुनेछ। तपाईं यसलाई पछि कुञ्जीको पङ्क्तिबाट परिवर्तन गर्न सक्नुहुन्छ।","skip": "अहिले होइन","scopedOne": "कुञ्जी 1 मोडेलमा सीमित",- "scopedOther": "कुञ्जी {count} मोडेलमा सीमित"+ "scopedOther": "कुञ्जी {count} मोडेलमा सीमित",+ "allSaved": "Key serves every catalog model"},"cpTitle": "क्लाइन्ट प्रोफाइलहरू","cpDesc": "प्रत्येक क्लाइन्टका लागि छुट्टै API कुञ्जी, जसको सिस्टम प्रम्प्ट सर्भरले सधैँ लागू गर्छ।",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "कुञ्जी सम्पादन",+ "editPlatformLocked": "सिर्जना पछि प्रदायक र एन्डपोइन्ट परिवर्तन गर्न मिल्दैन।",+ "editCredentialHint": "हालको कुञ्जी राख्न खाली छोड्नुहोस्।",+ "editCredentialPartsRequired": "खाता ID र API टोकन दुवै प्रविष्ट गर्नुहोस्।",+ "editModels": "मोडेल सम्पादन",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/nl.json b/client/src/i18n/locales/nl.jsonindex 46b48495..7cc3e3e1 100644--- a/client/src/i18n/locales/nl.json+++ b/client/src/i18n/locales/nl.json@@ -588,7 +588,8 @@"subsetNote": "Deze sleutel wordt beperkt tot de geselecteerde modellen. Je kunt dit later wijzigen via de rij van de sleutel.","skip": "Niet nu","scopedOne": "Sleutel beperkt tot 1 model",- "scopedOther": "Sleutel beperkt tot {count} modellen"+ "scopedOther": "Sleutel beperkt tot {count} modellen",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Clientprofielen","cpDesc": "API-sleutels per client, elk met een systeemprompt die de server altijd toepast.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Sleutel bewerken",+ "editPlatformLocked": "Provider en endpoint kunnen na aanmaak niet worden gewijzigd.",+ "editCredentialHint": "Laat leeg om de huidige sleutel te houden.",+ "editCredentialPartsRequired": "Voer zowel de account-ID als het API-token in.",+ "editModels": "Modellen bewerken",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/no.json b/client/src/i18n/locales/no.jsonindex fc74ff71..dd862f23 100644--- a/client/src/i18n/locales/no.json+++ b/client/src/i18n/locales/no.json@@ -588,7 +588,8 @@"subsetNote": "Nøkkelen begrenses til de valgte modellene. Du kan endre dette senere fra nøkkelens rad.","skip": "Ikke nå","scopedOne": "Nøkkel begrenset til 1 modell",- "scopedOther": "Nøkkel begrenset til {count} modeller"+ "scopedOther": "Nøkkel begrenset til {count} modeller",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Klientprofiler","cpDesc": "API-nøkler per klient, hver med en systemprompt som serveren alltid bruker.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Rediger nøkkel",+ "editPlatformLocked": "Leverandøren og endepunktet kan ikke endres etter oppretting.",+ "editCredentialHint": "La feltet stå tomt for å beholde gjeldende nøkkel.",+ "editCredentialPartsRequired": "Skriv inn både kontoidentifikator og API-token.",+ "editModels": "Rediger modeller",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/or.json b/client/src/i18n/locales/or.jsonindex ada6a9fa..86771a90 100644--- a/client/src/i18n/locales/or.json+++ b/client/src/i18n/locales/or.json@@ -588,7 +588,8 @@"subsetNote": "ଏହି କୀ କେବଳ ଚୟନ କରାଯାଇଥିବା ମଡେଲଗୁଡିକରେ ସୀମିତ ରହିବ। ଆପଣ ଏହାକୁ ପରେ କୀର ଧାଡ଼ିରୁ ବଦଳାଇପାରିବେ।","skip": "ବର୍ତ୍ତମାନ ନୁହେଁ","scopedOne": "କୀ 1 ମଡେଲରେ ସୀମିତ",- "scopedOther": "କୀ {count} ମଡେଲରେ ସୀମିତ"+ "scopedOther": "କୀ {count} ମଡେଲରେ ସୀମିତ",+ "allSaved": "Key serves every catalog model"},"cpTitle": "କ୍ଲାଏଣ୍ଟ ପ୍ରୋଫାଇଲ୍","cpDesc": "ପ୍ରତ୍ୟେକ କ୍ଲାଏଣ୍ଟ ପାଇଁ ଅଲଗା API କି; ଏହାର ସିଷ୍ଟମ୍ ପ୍ରମ୍ପ୍ଟକୁ ସର୍ଭର ସର୍ବଦା ପ୍ରୟୋଗ କରେ।",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "କି ସମ୍ପାଦନ",+ "editPlatformLocked": "ସୃଷ୍ଟି ପରେ ପ୍ରଦାତା ଓ ଏଣ୍ଡପଏଣ୍ଟ ବଦଳାଯାଇପାରିବ ନାହିଁ।",+ "editCredentialHint": "ବର୍ତ୍ତମାନର କି ରଖିବା ପାଇଁ ଖାଲି ରଖନ୍ତୁ।",+ "editCredentialPartsRequired": "ଖାତା ID ଓ API ଟୋକେନ୍ ଉଭୟ ଦିଅନ୍ତୁ।",+ "editModels": "ମଡେଲ ସମ୍ପାଦନ",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/pa.json b/client/src/i18n/locales/pa.jsonindex ffe0e391..639ab1f6 100644--- a/client/src/i18n/locales/pa.json+++ b/client/src/i18n/locales/pa.json@@ -588,7 +588,8 @@"subsetNote": "ਇਹ ਕੁੰਜੀ ਸਿਰਫ਼ ਚੁਣੇ ਗਏ ਮਾਡਲਾਂ ਤੱਕ ਸੀਮਤ ਰਹੇਗੀ। ਤੁਸੀਂ ਇਸਨੂੰ ਬਾਅਦ ਵਿੱਚ ਕੁੰਜੀ ਦੀ ਕਤਾਰ ਤੋਂ ਬਦਲ ਸਕਦੇ ਹੋ।","skip": "ਹੁਣੇ ਨਹੀਂ","scopedOne": "ਕੁੰਜੀ 1 ਮਾਡਲ ਤੱਕ ਸੀਮਤ",- "scopedOther": "ਕੁੰਜੀ {count} ਮਾਡਲਾਂ ਤੱਕ ਸੀਮਤ"+ "scopedOther": "ਕੁੰਜੀ {count} ਮਾਡਲਾਂ ਤੱਕ ਸੀਮਤ",+ "allSaved": "Key serves every catalog model"},"cpTitle": "ਕਲਾਇੰਟ ਪ੍ਰੋਫਾਈਲ","cpDesc": "ਹਰ ਕਲਾਇੰਟ ਲਈ ਵੱਖਰੀ API ਕੁੰਜੀ, ਜਿਸਦਾ ਸਿਸਟਮ ਪ੍ਰੋਂਪਟ ਸਰਵਰ ਹਮੇਸ਼ਾ ਲਾਗੂ ਕਰਦਾ ਹੈ।",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "ਕੁੰਜੀ ਸੋਧੋ",+ "editPlatformLocked": "ਬਣਾਉਣ ਤੋਂ ਬਾਅਦ ਪ੍ਰਦਾਤਾ ਜਾਂ ਐਂਡਪੁਆਇੰਟ ਨਹੀਂ ਬਦਲ ਸਕਦੇ।",+ "editCredentialHint": "ਮੌਜੂਦਾ ਕੁੰਜੀ ਰੱਖਣ ਲਈ ਖਾਲੀ ਛੱਡੋ।",+ "editCredentialPartsRequired": "ਖਾਤਾ ID ਅਤੇ API ਟੋਕਨ ਦੋਵੇਂ ਦਾਖਲ ਕਰੋ।",+ "editModels": "ਮਾਡਲ ਸੋਧੋ",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/pl.json b/client/src/i18n/locales/pl.jsonindex 9c79a2b1..2993908d 100644--- a/client/src/i18n/locales/pl.json+++ b/client/src/i18n/locales/pl.json@@ -588,7 +588,8 @@"subsetNote": "Ten klucz zostanie ograniczony do wybranych modeli. Możesz to zmienić później w wierszu klucza.","skip": "Nie teraz","scopedOne": "Klucz ograniczony do 1 modelu",- "scopedOther": "Klucz ograniczony do {count} modeli"+ "scopedOther": "Klucz ograniczony do {count} modeli",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Profile klientów","cpDesc": "Osobne klucze API dla każdego klienta, każdy z promptem systemowym, który serwer zawsze stosuje.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Edytuj klucz",+ "editPlatformLocked": "Dostawcy i endpointu nie można zmienić po utworzeniu.",+ "editCredentialHint": "Pozostaw puste, aby zachować bieżący klucz.",+ "editCredentialPartsRequired": "Podaj identyfikator konta i token API.",+ "editModels": "Edytuj modele",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/pt-BR.json b/client/src/i18n/locales/pt-BR.jsonindex 381e716c..03e52a55 100644--- a/client/src/i18n/locales/pt-BR.json+++ b/client/src/i18n/locales/pt-BR.json@@ -588,7 +588,8 @@"subsetNote": "Esta chave ficará limitada aos modelos selecionados. Você pode alterar isso depois na linha da chave.","skip": "Agora não","scopedOne": "Chave limitada a 1 modelo",- "scopedOther": "Chave limitada a {count} modelos"+ "scopedOther": "Chave limitada a {count} modelos",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Perfis de cliente","cpDesc": "Chaves de API por cliente, cada uma com um prompt de sistema que o servidor sempre aplica.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Editar chave",+ "editPlatformLocked": "O provedor e o endpoint não podem ser alterados após a criação.",+ "editCredentialHint": "Deixe em branco para manter a chave atual.",+ "editCredentialPartsRequired": "Informe o ID da conta e o token da API.",+ "editModels": "Editar modelos",+ "editModelsHint": "Escolha quais modelos do catálogo esta chave pode servir. Selecione tudo para limpar o escopo.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/pt-PT.json b/client/src/i18n/locales/pt-PT.jsonindex 9d111ef7..66c69e4a 100644--- a/client/src/i18n/locales/pt-PT.json+++ b/client/src/i18n/locales/pt-PT.json@@ -588,7 +588,8 @@"subsetNote": "Esta chave fica limitada aos modelos selecionados. Pode alterar isto mais tarde na linha da chave.","skip": "Agora não","scopedOne": "Chave limitada a 1 modelo",- "scopedOther": "Chave limitada a {count} modelos"+ "scopedOther": "Chave limitada a {count} modelos",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Perfis de cliente","cpDesc": "Chaves de API por cliente, cada uma com um prompt de sistema que o servidor aplica sempre.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Editar chave",+ "editPlatformLocked": "O fornecedor e o endpoint não podem ser alterados após a criação.",+ "editCredentialHint": "Deixe em branco para manter a chave atual.",+ "editCredentialPartsRequired": "Introduza o ID da conta e o token da API.",+ "editModels": "Editar modelos",+ "editModelsHint": "Escolha que modelos do catálogo esta chave pode servir. Selecione tudo para limpar o âmbito.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ro.json b/client/src/i18n/locales/ro.jsonindex 354ab773..aeacba42 100644--- a/client/src/i18n/locales/ro.json+++ b/client/src/i18n/locales/ro.json@@ -588,7 +588,8 @@"subsetNote": "Această cheie va fi limitată la modelele selectate. Poți schimba asta mai târziu din rândul cheii.","skip": "Nu acum","scopedOne": "Cheie limitată la 1 model",- "scopedOther": "Cheie limitată la {count} modele"+ "scopedOther": "Cheie limitată la {count} modele",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Profiluri de client","cpDesc": "Chei API per client, fiecare cu un prompt de sistem pe care serverul îl aplică întotdeauna.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Editează cheia",+ "editPlatformLocked": "Furnizorul și endpointul nu pot fi schimbate după creare.",+ "editCredentialHint": "Lasă gol pentru a păstra cheia actuală.",+ "editCredentialPartsRequired": "Introdu at ID-ul contului, cât și tokenul API.",+ "editModels": "Editează modelele",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ru.json b/client/src/i18n/locales/ru.jsonindex 75b712df..cbb54c58 100644--- a/client/src/i18n/locales/ru.json+++ b/client/src/i18n/locales/ru.json@@ -588,7 +588,8 @@"subsetNote": "Этот ключ будет ограничен выбранными моделями. Изменить это можно позже в строке ключа.","skip": "Не сейчас","scopedOne": "Ключ ограничен 1 моделью",- "scopedOther": "Ключ ограничен {count} моделями"+ "scopedOther": "Ключ ограничен {count} моделями",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Профили клиентов","cpDesc": "Отдельные API-ключи для каждого клиента, каждый со своим системным промптом, который сервер применяет всегда.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Изменить ключ",+ "editPlatformLocked": "Поставщика и конечную точку нельзя изменить после создания.",+ "editCredentialHint": "Оставьте пустым, чтобы сохранить текущий ключ.",+ "editCredentialPartsRequired": "Введите и ID аккаунта, и API-токен.",+ "editModels": "Изменить модели",+ "editModelsHint": "Выберите модели каталога, которые может использовать этот ключ. Полный выбор снимает ограничение.",+ "editModelsCustomHint": "Выберите зарегистрированные модели endpoint, которые может использовать этот ключ. Полный выбор снимает ограничение.",+ "editModelsSync": "Проверить обновления каталога",+ "editModelsSyncing": "Проверка…",+ "editModelsSynced": "Каталог моделей проверен"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/si.json b/client/src/i18n/locales/si.jsonindex 82bcb178..8b138240 100644--- a/client/src/i18n/locales/si.json+++ b/client/src/i18n/locales/si.json@@ -588,7 +588,8 @@"subsetNote": "මෙම යතුර තෝරාගත් මොඩල වලට පමණක් සීමා වේ. ඔබට මෙය පසුව යතුරේ පේළියෙන් වෙනස් කළ හැක.","skip": "දැන් නොවේ","scopedOne": "යතුර මොඩල 1කට සීමිතයි",- "scopedOther": "යතුර මොඩල {count}කට සීමිතයි"+ "scopedOther": "යතුර මොඩල {count}කට සීමිතයි",+ "allSaved": "Key serves every catalog model"},"cpTitle": "සේවාලාභී පැතිකඩ","cpDesc": "එක් එක් සේවාලාභියාට වෙනම API යතුරක්; එහි පද්ධති විධානය සේවාදායකය සැමවිටම යොදයි.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "යතුර සංස්කරණය",+ "editPlatformLocked": "සෑදීමෙන් පසු සපයන්නා හෝ endpoint වෙනස් කළ නොහැක.",+ "editCredentialHint": "වත්මන් යතුර තබා ගැනීමට හිස්ව තබන්න.",+ "editCredentialPartsRequired": "ගිණුම් ID සහ API ටෝකනය දෙකම ඇතුළත් කරන්න.",+ "editModels": "ආකෘති සංස්කරණය",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/sk.json b/client/src/i18n/locales/sk.jsonindex 556202cf..755b97ea 100644--- a/client/src/i18n/locales/sk.json+++ b/client/src/i18n/locales/sk.json@@ -588,7 +588,8 @@"subsetNote": "Tento kľúč bude obmedzený na vybrané modely. Zmeniť to môžete neskôr v riadku kľúča.","skip": "Teraz nie","scopedOne": "Kľúč obmedzený na 1 model",- "scopedOther": "Kľúč obmedzený na {count} modelov"+ "scopedOther": "Kľúč obmedzený na {count} modelov",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Profily klientov","cpDesc": "Samostatné API kľúče pre každého klienta, každý so systémovým promptom, ktorý server vždy použije.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Upraviť kľúč",+ "editPlatformLocked": "Poskytovateľ a koncový bod sa po vytvorení nedajú zmeniť.",+ "editCredentialHint": "Ak chcete zachovať aktuálny kľúč, nechajte pole prázdne.",+ "editCredentialPartsRequired": "Zadajte ID účtu aj token API.",+ "editModels": "Upraviť modely",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/sr.json b/client/src/i18n/locales/sr.jsonindex 42e0e298..5a10f20e 100644--- a/client/src/i18n/locales/sr.json+++ b/client/src/i18n/locales/sr.json@@ -588,7 +588,8 @@"subsetNote": "Овај кључ ће бити ограничен на изабране моделе. То можете касније променити у реду кључа.","skip": "Не сада","scopedOne": "Кључ је ограничен на 1 модел",- "scopedOther": "Кључ је ограничен на {count} модела"+ "scopedOther": "Кључ је ограничен на {count} модела",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Профили клијената","cpDesc": "API кључеви по клијенту, сваки са системским промптом који сервер увек примењује.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Измени кључ",+ "editPlatformLocked": "Добављач и крајњу тачку није могуће променити након стварања.",+ "editCredentialHint": "Оставите празно да бисте задржали тренутни кључ.",+ "editCredentialPartsRequired": "Унесите и ID налога и API токен.",+ "editModels": "Измени моделе",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/sv.json b/client/src/i18n/locales/sv.jsonindex 76802f88..cc501c92 100644--- a/client/src/i18n/locales/sv.json+++ b/client/src/i18n/locales/sv.json@@ -588,7 +588,8 @@"subsetNote": "Nyckeln begränsas till de valda modellerna. Du kan ändra detta senare från nyckelns rad.","skip": "Inte nu","scopedOne": "Nyckeln begränsad till 1 modell",- "scopedOther": "Nyckeln begränsad till {count} modeller"+ "scopedOther": "Nyckeln begränsad till {count} modeller",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Klientprofiler","cpDesc": "API-nycklar per klient, var och en med en systemprompt som servern alltid tillämpar.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Redigera nyckel",+ "editPlatformLocked": "Leverantören och slutpunkten kan inte ändras efter skapandet.",+ "editCredentialHint": "Lämna tomt för att behålla den aktuella nyckeln.",+ "editCredentialPartsRequired": "Ange både kontoidentifikator och API-token.",+ "editModels": "Redigera modeller",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/sw.json b/client/src/i18n/locales/sw.jsonindex 568a3716..a1689a8f 100644--- a/client/src/i18n/locales/sw.json+++ b/client/src/i18n/locales/sw.json@@ -588,7 +588,8 @@"subsetNote": "Ufunguo huu utawekewa kikomo cha modeli zilizochaguliwa. Unaweza kubadilisha hili baadaye kutoka safu ya ufunguo.","skip": "Si sasa","scopedOne": "Ufunguo umezuiliwa kwa modeli 1",- "scopedOther": "Ufunguo umezuiliwa kwa modeli {count}"+ "scopedOther": "Ufunguo umezuiliwa kwa modeli {count}",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Wasifu wa wateja","cpDesc": "Funguo za API kwa kila mteja, kila mmoja na maelekezo ya mfumo ambayo seva hutumia kila wakati.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Hariri ufunguo",+ "editPlatformLocked": "Muuzaji na endpoint haziwezi kubadilishwa baada ya kuumbwa.",+ "editCredentialHint": "Iache wazi ili kupeteza ufunguo wa sasa.",+ "editCredentialPartsRequired": "Weka ID ya akaunti na tokeni ya API.",+ "editModels": "Hariri mifano",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ta.json b/client/src/i18n/locales/ta.jsonindex 92e89122..c7606c85 100644--- a/client/src/i18n/locales/ta.json+++ b/client/src/i18n/locales/ta.json@@ -588,7 +588,8 @@"subsetNote": "இந்த விசை தேர்ந்தெடுக்கப்பட்ட மாடல்களுக்கு மட்டுமே வரம்பிடப்படும். இதை பின்னர் விசையின் வரிசையிலிருந்து மாற்றலாம்.","skip": "இப்போது வேண்டாம்","scopedOne": "விசை 1 மாடலுக்கு வரம்பிடப்பட்டது",- "scopedOther": "விசை {count} மாடல்களுக்கு வரம்பிடப்பட்டது"+ "scopedOther": "விசை {count} மாடல்களுக்கு வரம்பிடப்பட்டது",+ "allSaved": "Key serves every catalog model"},"cpTitle": "கிளையண்ட் சுயவிவரங்கள்","cpDesc": "ஒவ்வொரு கிளையண்டுக்கும் தனி API சாவி; அதன் சிஸ்டம் ப்ராம்ப்டை சேவையகம் எப்போதும் பயன்படுத்தும்.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "முகவரை திருத்து",+ "editPlatformLocked": "உருவாக்கிய பின் வழங்குநரையோ என்புள்ளியையோ மாற்ற முடியாது.",+ "editCredentialHint": "தற்போதைய முகவரை வைத்திருக்க காலியாக விடுங்கள்.",+ "editCredentialPartsRequired": "கணக்கு ID மற்றும் API டோக்கன் இரண்டையும் உள்ளிடுங்கள்.",+ "editModels": "மாதிரிகளைத் திருத்து",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/te.json b/client/src/i18n/locales/te.jsonindex fb41186c..fefdc173 100644--- a/client/src/i18n/locales/te.json+++ b/client/src/i18n/locales/te.json@@ -588,7 +588,8 @@"subsetNote": "ఈ కీ ఎంచుకున్న మోడళ్లకు మాత్రమే పరిమితం అవుతుంది. దీన్ని తర్వాత కీ వరుస నుండి మార్చుకోవచ్చు.","skip": "ఇప్పుడు కాదు","scopedOne": "కీ 1 మోడల్కు పరిమితం",- "scopedOther": "కీ {count} మోడళ్లకు పరిమితం"+ "scopedOther": "కీ {count} మోడళ్లకు పరిమితం",+ "allSaved": "Key serves every catalog model"},"cpTitle": "క్లయింట్ ప్రొఫైల్స్","cpDesc": "ప్రతి క్లయింట్కు వేరు API కీ, దాని సిస్టమ్ ప్రాంప్ట్ను సర్వర్ ఎల్లప్పుడూ వర్తింపజేస్తుంది.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "కీ సవరించు",+ "editPlatformLocked": "సృష్టించిన తర్వాత ప్రొవైడర్ లేదా ఎండ్పాయింట్ మార్చలేరు.",+ "editCredentialHint": "ప్రస్తుత కీని ఉంచడానికి ఖాళీగా వదిలేయండి.",+ "editCredentialPartsRequired": "ఖాతా ID మరియు API టోకెన్ రెండూ నమోదు చేయండి.",+ "editModels": "మోడల్లను సవరించండి",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/th.json b/client/src/i18n/locales/th.jsonindex 9a1330ba..d5260f16 100644--- a/client/src/i18n/locales/th.json+++ b/client/src/i18n/locales/th.json@@ -588,7 +588,8 @@"subsetNote": "คีย์นี้จะถูกจำกัดไว้เฉพาะโมเดลที่เลือก คุณเปลี่ยนได้ภายหลังจากแถวของคีย์","skip": "ยังไม่ใช่ตอนนี้","scopedOne": "คีย์จำกัดไว้ที่ 1 โมเดล",- "scopedOther": "คีย์จำกัดไว้ที่ {count} โมเดล"+ "scopedOther": "คีย์จำกัดไว้ที่ {count} โมเดล",+ "allSaved": "Key serves every catalog model"},"cpTitle": "โปรไฟล์ไคลเอนต์","cpDesc": "คีย์ API แยกตามไคลเอนต์ แต่ละคีย์มี system prompt ที่เซิร์ฟเวอร์ใช้เสมอ",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "แก้ไขคีย์",+ "editPlatformLocked": "ไม่สามารถเปลี่ยนผู้ให้บริการและ endpoint หลังจากสร้างแล้ว",+ "editCredentialHint": "เว้นว่างเพื่อใช้คีย์ปัจจุบันต่อ",+ "editCredentialPartsRequired": "กรอกทั้ง ID บัญชีและโทเคน API",+ "editModels": "แก้ไขโมเดล",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/tl.json b/client/src/i18n/locales/tl.jsonindex 0db8fe15..a468dcc9 100644--- a/client/src/i18n/locales/tl.json+++ b/client/src/i18n/locales/tl.json@@ -588,7 +588,8 @@"subsetNote": "Malilimitahan ang key na ito sa mga napiling modelo. Mababago mo ito mamaya mula sa row ng key.","skip": "Hindi ngayon","scopedOne": "Limitado ang key sa 1 modelo",- "scopedOther": "Limitado ang key sa {count} na modelo"+ "scopedOther": "Limitado ang key sa {count} na modelo",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Mga profile ng client","cpDesc": "Hiwalay na API key para sa bawat client, bawat isa may system prompt na palaging inilalapat ng server.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "I-edit ang key",+ "editPlatformLocked": "Hindi mababago ang provider at endpoint pagkatapos gawin.",+ "editCredentialHint": "Iwanang blangko para panatilihin ang kasalukuyang key.",+ "editCredentialPartsRequired": "Ilagay pareho ang account ID at API token.",+ "editModels": "I-edit ang mga model",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/tr.json b/client/src/i18n/locales/tr.jsonindex 0d6c63c2..05ab027a 100644--- a/client/src/i18n/locales/tr.json+++ b/client/src/i18n/locales/tr.json@@ -588,7 +588,8 @@"subsetNote": "Bu anahtar seçili modellerle sınırlı olacak. Bunu daha sonra anahtarın satırından değiştirebilirsiniz.","skip": "Şimdi değil","scopedOne": "Anahtar 1 modelle sınırlandırıldı",- "scopedOther": "Anahtar {count} modelle sınırlandırıldı"+ "scopedOther": "Anahtar {count} modelle sınırlandırıldı",+ "allSaved": "Key serves every catalog model"},"cpTitle": "İstemci profilleri","cpDesc": "İstemci başına API anahtarları; her birinin sistem istemini sunucu her zaman uygular.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Anahtarı düzenle",+ "editPlatformLocked": "Oluşturmadan sonra sağlayıcı ve uç nokta değiştirilemez.",+ "editCredentialHint": "Geçerli anahtarı korumak için boş bırakın.",+ "editCredentialPartsRequired": "Hem hesap kimliğini hem de API belirtecini girin.",+ "editModels": "Modelleri düzenle",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/uk.json b/client/src/i18n/locales/uk.jsonindex cf2c80e9..e2aa6790 100644--- a/client/src/i18n/locales/uk.json+++ b/client/src/i18n/locales/uk.json@@ -588,7 +588,8 @@"subsetNote": "Цей ключ буде обмежено вибраними моделями. Змінити це можна пізніше в рядку ключа.","skip": "Не зараз","scopedOne": "Ключ обмежено 1 моделлю",- "scopedOther": "Ключ обмежено {count} моделями"+ "scopedOther": "Ключ обмежено {count} моделями",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Профілі клієнтів","cpDesc": "Окремі API-ключі для кожного клієнта, кожен зі своїм системним промптом, який сервер застосовує завжди.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Редагувати ключ",+ "editPlatformLocked": "Постачальника та кінцеву точку не можна змінити після створення.",+ "editCredentialHint": "Залиште порожнім, щоб зберегти поточний ключ.",+ "editCredentialPartsRequired": "Введіть і ID облікового запису, і API-токен.",+ "editModels": "Редагувати моделі",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ur.json b/client/src/i18n/locales/ur.jsonindex deb34eff..293c6c98 100644--- a/client/src/i18n/locales/ur.json+++ b/client/src/i18n/locales/ur.json@@ -588,7 +588,8 @@"subsetNote": "یہ کلید صرف منتخب ماڈلز تک محدود رہے گی۔ آپ بعد میں کلید کی سطر سے یہ تبدیل کر سکتے ہیں۔","skip": "ابھی نہیں","scopedOne": "کلید 1 ماڈل تک محدود",- "scopedOther": "کلید {count} ماڈلز تک محدود"+ "scopedOther": "کلید {count} ماڈلز تک محدود",+ "allSaved": "Key serves every catalog model"},"cpTitle": "کلائنٹ پروفائلز","cpDesc": "ہر کلائنٹ کے لیے الگ API کلید، جس کا سسٹم پرامپٹ سرور ہمیشہ لاگو کرتا ہے۔",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "کلید ترمیم کریں",+ "editPlatformLocked": "بنانے کے بعد فراہم کنندہ اور اینڈ پوائنٹ تبدیل نہیں ہو سکتے۔",+ "editCredentialHint": "موجودہ کلید رکھنے کے لیے خالی چھوڑیں۔",+ "editCredentialPartsRequired": "اکاؤنٹ ID اور API ٹوکن دونوں درج کریں۔",+ "editModels": "ماڈل ترمیم کریں",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/uz.json b/client/src/i18n/locales/uz.jsonindex 11ffc4dd..b98795c9 100644--- a/client/src/i18n/locales/uz.json+++ b/client/src/i18n/locales/uz.json@@ -588,7 +588,8 @@"subsetNote": "Bu kalit faqat tanlangan modellar bilan cheklanadi. Buni keyinroq kalit qatoridan o‘zgartirishingiz mumkin.","skip": "Hozir emas","scopedOne": "Kalit 1 ta model bilan cheklandi",- "scopedOther": "Kalit {count} ta model bilan cheklandi"+ "scopedOther": "Kalit {count} ta model bilan cheklandi",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Mijoz profillari","cpDesc": "Har bir mijoz uchun alohida API kaliti; uning tizim promptini server doim qo'llaydi.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Kalitni tahrirlash",+ "editPlatformLocked": "Yaratilgandan keyin provayder va endpointni o‘zgartirib bo‘lmaydi.",+ "editCredentialHint": "Joriy kalitni saqlash uchun bo‘sh qoldiring.",+ "editCredentialPartsRequired": "Ham hisob ID sini, ham API tokenini kiriting.",+ "editModels": "Modellarni tahrirlash",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/vi.json b/client/src/i18n/locales/vi.jsonindex 7197d268..c2597562 100644--- a/client/src/i18n/locales/vi.json+++ b/client/src/i18n/locales/vi.json@@ -588,7 +588,8 @@"subsetNote": "Khóa này sẽ chỉ giới hạn ở các mô hình đã chọn. Bạn có thể thay đổi sau tại hàng của khóa.","skip": "Để sau","scopedOne": "Khóa giới hạn ở 1 mô hình",- "scopedOther": "Khóa giới hạn ở {count} mô hình"+ "scopedOther": "Khóa giới hạn ở {count} mô hình",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Hồ sơ client","cpDesc": "Khóa API riêng cho từng client, mỗi khóa có một system prompt mà máy chủ luôn áp dụng.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Chỉnh sửa khóa",+ "editPlatformLocked": "Không thể thay đổi nhà cung cấp hoặc endpoint sau khi tạo.",+ "editCredentialHint": "Để trống để giữ khóa hiện tại.",+ "editCredentialPartsRequired": "Nhập cả ID tài khoản và mã API.",+ "editModels": "Chỉnh sửa mô hình",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/yo.json b/client/src/i18n/locales/yo.jsonindex 23a4d468..2151f377 100644--- a/client/src/i18n/locales/yo.json+++ b/client/src/i18n/locales/yo.json@@ -588,7 +588,8 @@"subsetNote": "Bọtìnì yìí yóò ní ààlà sí àwọn awoṣe tí a yàn. O lè yí èyí padà lẹ́yìn náà láti orí ìlà bọtìnì náà.","skip": "Kì í ṣe báyìí","scopedOne": "Bọtìnì ní ààlà sí awoṣe 1",- "scopedOther": "Bọtìnì ní ààlà sí awoṣe {count}"+ "scopedOther": "Bọtìnì ní ààlà sí awoṣe {count}",+ "allSaved": "Key serves every catalog model"},"cpTitle": "Àwọn pírófáìlì oníbàárà","cpDesc": "Àwọn kọ́kọ́rọ́ API fún oníbàárà kọ̀ọ̀kan, ọ̀kọ̀ọ̀kan pẹ̀lú ìtọ́ni ètò tí sáfà máa ń lò nígbà gbogbo.",@@ -612,7 +613,17 @@"testProxy": "Test","testingProxy": "Testing…","proxyTestOk": "Proxy works — {ms}ms round trip",- "proxyTestFail": "Proxy failed: {reason}"+ "proxyTestFail": "Proxy failed: {reason}",+ "editKey": "Ṣàtúnṣe bọtìnì",+ "editPlatformLocked": "Àgbékalẹ̀ àti endpoint kì í yí padà lẹ́yìn ìdámẹ̀.",+ "editCredentialHint": "Fi aṣàjá sílẹ̀ láti fi bọtìnì tí ó wà nílẹ̀.",+ "editCredentialPartsRequired": "Tẹ́ ORukọ àkántí àti API token sílẹ̀.",+ "editModels": "Ṣàtúnṣe àwọn aṣàpẹẹrẹ",+ "editModelsHint": "Choose which catalog models this key may serve. Select everything to clear the scope so future catalog models use it too.",+ "editModelsCustomHint": "Choose which registered endpoint models this key may serve. Select everything to clear the scope.",+ "editModelsSync": "Check catalog updates",+ "editModelsSyncing": "Checking…",+ "editModelsSynced": "Model catalog checked"},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/zh-CN.json b/client/src/i18n/locales/zh-CN.jsonindex dbfb6db0..faeababf 100644--- a/client/src/i18n/locales/zh-CN.json+++ b/client/src/i18n/locales/zh-CN.json@@ -487,6 +487,16 @@"deleteKeyConfirm": "确认删除此密钥?此操作无法撤销。","checkAll": "检查全部","checking": "检查中…",+ "editKey": "编辑密钥",+ "editPlatformLocked": "创建后无法更改提供方和端点。",+ "editCredentialHint": "留空则保留当前密钥。",+ "editCredentialPartsRequired": "请同时输入账户 ID 和 API 令牌。",+ "editModels": "编辑模型",+ "editModelsHint": "选择此密钥可服务的目录模型。全选将清除限制,后续新增目录模型也会使用此密钥。",+ "editModelsCustomHint": "选择此密钥可服务的已注册端点模型。全选将清除限制。",+ "editModelsSync": "检查目录更新",+ "editModelsSyncing": "检查中…",+ "editModelsSynced": "模型目录已检查","editLabel": "编辑标签","saveLabel": "保存标签","unifiedKeyDescBefore": "将其用作您的 OpenAI ",@@ -591,6 +601,7 @@"allNote": "已全选——不会保存任何限制,之后添加到目录的模型也会使用此密钥。","subsetNote": "此密钥将仅限于所选模型。之后可在该密钥所在行更改。","skip": "暂不设置",+ "allSaved": "密钥可服务全部目录模型","scopedOne": "密钥已限定为 1 个模型","scopedOther": "密钥已限定为 {count} 个模型"},diff --git a/client/src/i18n/locales/zh-TW.json b/client/src/i18n/locales/zh-TW.jsonindex e7b3e640..6ed61bbc 100644--- a/client/src/i18n/locales/zh-TW.json+++ b/client/src/i18n/locales/zh-TW.json@@ -592,7 +592,8 @@"subsetNote": "此金鑰將僅限於所選模型。日後可在該金鑰所在列變更。","skip": "暫不設定","scopedOne": "金鑰已限定為 1 個模型",- "scopedOther": "金鑰已限定為 {count} 個模型"+ "scopedOther": "金鑰已限定為 {count} 個模型",+ "allSaved": "金鑰可服務全部目錄模型"},"cpTitle": "用戶端設定檔","cpDesc": "為每個用戶端各自發放 API 金鑰,伺服器會一律套用其系統提示詞。",@@ -612,7 +613,17 @@"bulkDelete": "批次刪除","bulkDeleteConfirm": "刪除 {count} 個?","bulkResult": "已更新 {done} 個;失敗 {failed} 個。",- "bulkDeleteResult": "已刪除 {done} 個;失敗 {failed} 個。"+ "bulkDeleteResult": "已刪除 {done} 個;失敗 {failed} 個。",+ "editKey": "編輯金鑰",+ "editPlatformLocked": "建立後無法變更提供方和端點。",+ "editCredentialHint": "留空則保留目前的金鑰。",+ "editCredentialPartsRequired": "請同時輸入帳號 ID 和 API 權杖。",+ "editModels": "編輯模型",+ "editModelsHint": "選擇此金鑰可服務的目錄模型。全選將清除限制。",+ "editModelsCustomHint": "選擇此金鑰可服務的已註冊端點模型。全選將清除限制。",+ "editModelsSync": "檢查目錄更新",+ "editModelsSyncing": "檢查中…",+ "editModelsSynced": "模型目錄已檢查"},"backups": {"title": "Backups",diff --git a/client/src/lib/model-scope-selection.ts b/client/src/lib/model-scope-selection.tsindex cea4f6dc..67c4126a 100644--- a/client/src/lib/model-scope-selection.ts+++ b/client/src/lib/model-scope-selection.ts@@ -49,7 +49,7 @@ export const MODEL_PICKER_MIN_MODELS = 6* be ticked apart.*/export function scopeCandidates(- entries: readonly FallbackEntry[],+ entries: readonly Pick<FallbackEntry, 'platform' | 'modelId' | 'displayName' | 'sizeLabel' | 'contextWindow'>[],platform: string,): ScopeCandidate[] {// 'custom' rows are per-endpoint, not per-platform — one custom key mustdiff --git a/server/src/__tests__/routes/keys.test.ts b/server/src/__tests__/routes/keys.test.tsindex 9a0e647a..e46f6d9c 100644--- a/server/src/__tests__/routes/keys.test.ts+++ b/server/src/__tests__/routes/keys.test.ts@@ -2,6 +2,7 @@ import { describe, it, expect, beforeAll, beforeEach } from 'vitest';import type { Express } from 'express';import { createApp } from '../../app.js';import { initDb, getDb } from '../../db/index.js';+import { decrypt } from '../../lib/crypto.js';import { mintDashboardToken, isGatedApiPath } from '../helpers/auth.js';let dashToken = '';@@ -227,6 +228,88 @@ describe('Keys API', () => {expect(keys[0].label).toBe('Disabled key');});+ it('PATCH /api/keys/:id replaces the credential without changing its stable identity', async () => {+ const { body: created } = await request(app, 'POST', '/api/keys', {+ platform: 'groq',+ key: 'gsk_old_key_123456',+ label: 'Before',+ });+ getDb().prepare(`+ INSERT INTO rate_limit_cooldowns (platform, model_id, key_id, expires_at_ms)+ VALUES ('groq', 'llama-3.3-70b', ?, ?)+ `).run(created.id, Date.now() + 60_000);++ const { status, body } = await request(app, 'PATCH', `/api/keys/${created.id}`, {+ key: 'gsk_new_key_654321',+ });++ expect(status).toBe(200);+ expect(body.maskedKey).toContain('gsk_new_key_654321'.slice(-4));+ const row = getDb().prepare('SELECT * FROM api_keys WHERE id = ?').get(created.id) as any;+ expect(decrypt(row.encrypted_key, row.iv, row.auth_tag)).toBe('gsk_new_key_654321');+ expect(row.platform).toBe('groq');+ expect(row.label).toBe('Before');+ expect(row.enabled).toBe(1);+ expect(row.status).toBe('unknown');+ expect(row.last_checked_at).toBeNull();+ expect(row.last_health_error).toBeNull();+ expect(getDb().prepare('SELECT COUNT(*) AS n FROM rate_limit_cooldowns WHERE key_id = ?')+ .get(created.id)).toEqual({ n: 0 });+ });++ it('PATCH /api/keys/:id preserves a Cloudflare credential when a malformed replacement is submitted', async () => {+ const { body: created } = await request(app, 'POST', '/api/keys', {+ platform: 'cloudflare', key: 'old-account:old-token', label: 'Original',+ });+ for (const key of ['token-only', ':token', 'account:', 'account: ']) {+ const { status } = await request(app, 'PATCH', `/api/keys/${created.id}`, { key, label: 'Changed' });+ expect(status).toBe(400);+ }+ const row = getDb().prepare('SELECT * FROM api_keys WHERE id = ?').get(created.id) as any;+ expect(decrypt(row.encrypted_key, row.iv, row.auth_tag)).toBe('old-account:old-token');+ expect(row.label).toBe('Original');+ const { status } = await request(app, 'PATCH', `/api/keys/${created.id}`, { key: 'new-account:new-token' });+ expect(status).toBe(200);+ const updated = getDb().prepare('SELECT * FROM api_keys WHERE id = ?').get(created.id) as any;+ expect(decrypt(updated.encrypted_key, updated.iv, updated.auth_tag)).toBe('new-account:new-token');+ });++ it('PATCH /api/keys/:id leaves health state alone when the submitted key is unchanged', async () => {+ const { body: created } = await request(app, 'POST', '/api/keys', {+ platform: 'groq',+ key: 'gsk_same_key_123456',+ });+ getDb().prepare(`+ UPDATE api_keys+ SET status = 'healthy', last_checked_at = datetime('now'), last_health_error = NULL+ WHERE id = ?+ `).run(created.id);++ const { status } = await request(app, 'PATCH', `/api/keys/${created.id}`, {+ key: 'gsk_same_key_123456',+ });++ expect(status).toBe(200);+ const row = getDb().prepare('SELECT status, last_checked_at FROM api_keys WHERE id = ?').get(created.id) as any;+ expect(row.status).toBe('healthy');+ expect(row.last_checked_at).toBeTruthy();+ });++ it('PATCH /api/keys/:id rejects a credential for a keyless provider', async () => {+ const { body: created } = await request(app, 'POST', '/api/keys', {+ platform: 'kilo',+ key: '',+ });++ const { status } = await request(app, 'PATCH', `/api/keys/${created.id}`, {+ key: 'unexpected-secret',+ });++ expect(status).toBe(400);+ const row = getDb().prepare('SELECT encrypted_key, iv, auth_tag FROM api_keys WHERE id = ?').get(created.id) as any;+ expect(decrypt(row.encrypted_key, row.iv, row.auth_tag)).toBe('no-key');+ });+it('PATCH /api/keys/:id clears label', async () => {const { body: created } = await request(app, 'POST', '/api/keys', {platform: 'groq',diff --git a/server/src/routes/keys.ts b/server/src/routes/keys.tsindex ab8e4b8b..23c56dcf 100644--- a/server/src/routes/keys.ts+++ b/server/src/routes/keys.ts@@ -18,6 +18,7 @@ import { probeEmbeddingDimensions, registerCustomEmbeddingModel } from '../serviimport { endpointScopeForBaseUrl, normalizeBaseUrl } from '../lib/endpoint-scope.js';import { recordCustomModelTombstone } from '../services/custom-model-tombstone.js';import type { Db } from '../db/types.js';+import type { Platform } from '@freellmapi/shared/types.js';import { parseModelScope } from '../lib/model-scope.js';import { KEY_PROXY_URL_ERROR, KEY_PROXY_URL_MAX, decryptProxyUrl, encryptProxyUrl, isValidKeyProxyUrl, maskProxyUrl } from '../lib/key-proxy.js';@@ -74,8 +75,12 @@ const updateKeySchema = z.object({modelScope: z.array(z.string().trim().min(1).max(200)).max(100).nullable().optional(),// #590: '' clears the per-key proxy; absent leaves it unchanged.proxyUrl: proxyUrlSchema.optional(),-}).refine(data => data.enabled !== undefined || data.label !== undefined || data.modelScope !== undefined || data.proxyUrl !== undefined, {- message: 'At least one of enabled, label, modelScope or proxyUrl must be provided',+ // Re-entry of a credential without deleting and recreating the row. Like+ // POST, the value is trimmed and never echoed back; an absent field leaves+ // the encrypted key untouched.+ key: z.string().trim().min(1).optional(),+}).refine(data => data.enabled !== undefined || data.label !== undefined || data.modelScope !== undefined || data.proxyUrl !== undefined || data.key !== undefined, {+ message: 'At least one of enabled, label, modelScope, proxyUrl or key must be provided',});const importKeySchema = z.object({@@ -1508,14 +1513,49 @@ keysRouter.patch('/:id', (req: Request, res: Response) => {return;}- const { enabled, label, modelScope, proxyUrl } = parsed.data;+ const { enabled, label, modelScope, proxyUrl, key } = parsed.data;const updates: string[] = [];const values: (string | number | null)[] = [];+ let changedKey: string | undefined;++ if (key !== undefined) {+ const db = getDb();+ const stored = db.prepare('SELECT platform, encrypted_key, iv, auth_tag FROM api_keys WHERE id = ?')+ .get(id) as { platform: string; encrypted_key: string; iv: string; auth_tag: string } | undefined;+ if (!stored) {+ res.status(404).json({ error: { message: 'Key not found' } });+ return;+ }+ if (resolveProvider(stored.platform as Platform)?.keyless === true) {+ res.status(400).json({ error: { message: 'Keyless providers cannot store a credential' } });+ return;+ }++ if (stored.platform === 'cloudflare') {+ const separator = key.indexOf(':');+ if (separator < 1 || !key.slice(0, separator).trim() || !key.slice(separator + 1).trim()) {+ res.status(400).json({ error: { message: 'Cloudflare key must be in format "account_id:api_token"' } });+ return;+ }+ }++ try {+ if (decrypt(stored.encrypted_key, stored.iv, stored.auth_tag) !== key) changedKey = key;+ } catch {+ // An undecryptable old credential is still replaceable.+ changedKey = key;+ }+ }if (enabled !== undefined) {updates.push('enabled = ?');values.push(enabled ? 1 : 0);}+ if (changedKey !== undefined) {+ const { encrypted, iv, authTag } = encrypt(changedKey);+ updates.push('encrypted_key = ?', 'iv = ?', 'auth_tag = ?', "status = 'unknown'", 'last_checked_at = NULL', 'last_health_error = NULL');+ values.push(encrypted, iv, authTag);+ }if (label !== undefined) {updates.push('label = ?');values.push(label);@@ -1537,17 +1577,26 @@ keysRouter.patch('/:id', (req: Request, res: Response) => {values.push(id);const db = getDb();- const result = db.prepare(`UPDATE api_keys SET ${updates.join(', ')} WHERE id = ?`).run(...values);+ // Re-submitting the same key satisfies "something changed" but is a no-op;+ // it must not turn into an invalid UPDATE with an empty SET list.+ const result = updates.length === 0+ ? { changes: 1 }+ : db.transaction(() =>+ db.prepare(`UPDATE api_keys SET ${updates.join(', ')} WHERE id = ?`).run(...values),+ )();if (result.changes === 0) {res.status(404).json({ error: { message: 'Key not found' } });return;}+ if (changedKey !== undefined) clearCooldownsForKey(id);+const response: Record<string, unknown> = { success: true };if (enabled !== undefined) response.enabled = enabled;if (label !== undefined) response.label = label;if (proxyUrl !== undefined) response.maskedProxyUrl = maskProxyUrl(proxyUrl);+ if (key !== undefined) response.maskedKey = maskKey(key);if (modelScope !== undefined) response.modelScope = scopeIds.length > 0 ? scopeIds : null;res.json(response);});diff --git a/shared/types.ts b/shared/types.tsindex 3a02c913..86ef8e90 100644--- a/shared/types.ts+++ b/shared/types.ts@@ -303,6 +303,8 @@ export interface ApiKey {/** Model ids this key is limited to; null = serves every model of its* platform (#657). */modelScope?: string[] | null;+ /** The per-key proxy override with its password masked (#590); '' = none. */+ maskedProxyUrl?: string;models?: ApiKeyModel[];cooldowns?: ApiKeyCooldown[];}