mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-10-03 18:23:51 +08:00
- Introduced a new `group_name` field in the model configuration to allow for custom provider-group display names. - Updated the `CursorModelCards`, `CursorModelEditor`, and `CursorSettingsPage` components to support group settings. - Enhanced the UI to include group settings options, allowing users to modify group names and associated configurations. - Added localization strings for new group settings features in both English and Chinese. - Implemented a database migration to add the `group_name` column to the model configurations.
5 lines
284 B
SQL
5 lines
284 B
SQL
-- Custom provider-group display name shared by models with the same upstream host.
|
|
-- NULL means no custom name; the UI falls back to the base_url hostname and the
|
|
-- Cursor model picker badge falls back to the model type label.
|
|
ALTER TABLE model_configs ADD COLUMN group_name TEXT;
|