refactor: move modelsToEntries and entriesToModels to modelInputListUtils for better organization

This commit is contained in:
Supra4E8C
2026-01-31 16:43:46 +08:00
parent b4d08dd0d7
commit 1053e91fe4
14 changed files with 54 additions and 50 deletions

View File

@@ -6,7 +6,7 @@ import { Input } from '@/components/ui/Input';
import { Modal } from '@/components/ui/Modal';
import type { ProviderKeyConfig } from '@/types';
import { headersToEntries } from '@/utils/headers';
import { modelsToEntries } from '@/components/ui/ModelInputList';
import { modelsToEntries } from '@/components/ui/modelInputListUtils';
import { excludedModelsToText } from '../utils';
import type { ProviderFormState, ProviderModalProps } from '../types';