Commit Graph
297 Commits
Author SHA1 Message Date
G30 a8dd8dbf98 fix: a model can switch off every Default Feature the admin turned on (#32500)
The model editor dropped meta.defaultFeatureIds when the list was empty.
When Admin Settings > Models > Model Defaults turns a default feature on,
the backend fills in that default for any model without the key, so
switching the last feature off on a model saved nothing and the admin
default came back on reopen and in new chats.

Keep the empty list when the admin default is not empty, so the model's
choice is stored and overrides it.
2026-10-16 03:22:13 +04:00
G30 9cc648cad8 fix: a built-in tool a model turns back on stays on (#32504)
When Admin Settings > Models > Model Defaults turns a built-in tool off,
a model that turns it back on lost that choice on Save. The editor seeds
the model's builtinTools with the admin defaults object itself, and
setBuiltinTool deleted the tool's key in place, so the admin defaults
changed too. The empty map was then dropped on save, and the backend
filled in the admin default again.

Update a copy of the map in setBuiltinTool, as the Default Features
toggles in Capabilities.svelte already build a new list, and keep the
empty map when the admin default is not empty, so the model's choice is
stored and overrides it.
2026-10-16 03:14:30 +04:00
Timothy Jaeryang Baek 0d895443b4 refac 2026-10-14 18:02:58 +04:00
Timothy Jaeryang Baek d51fffb468 refac 2026-10-14 15:28:19 +04:00
Timothy Jaeryang Baek 1045d74c75 refac 2026-10-14 15:20:25 +04:00
Timothy Jaeryang Baek 5060923c63 refac 2026-10-14 13:53:47 +04:00
Timothy Jaeryang Baek d786ed56c9 refac 2026-10-12 11:16:56 +04:00
Timothy Jaeryang Baek 1283b2701e refac 2026-10-11 19:56:52 +04:00
Classic298 73be5c98f4 Merge pull request #32224 from Classic298/fix-model-editor-language-switch
fix: model editor keeps the previous language's text when switching Editing language
2026-10-11 17:58:24 +04:00
Timothy Jaeryang Baek 78613d86f7 refac 2026-10-11 15:55:57 +04:00
Timothy Jaeryang Baek fea827bc2e chore: format 2026-10-10 23:18:09 +04:00
Timothy Jaeryang Baek 2bcf9cffe7 refac 2026-10-10 22:59:27 +04:00
Timothy Jaeryang Baek 79d376a1f3 refac 2026-10-10 21:28:33 +04:00
Timothy Jaeryang Baek 82f142d376 refac 2026-10-10 21:11:33 +04:00
Timothy Jaeryang Baek e32d2f75bd refac 2026-10-10 21:01:41 +04:00
Timothy Jaeryang Baek 212bfc13e9 refac 2026-10-10 20:31:55 +04:00
Timothy Jaeryang Baek 371ed44b2c refac 2026-10-10 18:07:35 +04:00
Timothy Jaeryang Baek 79702261b0 refac 2026-10-10 17:59:10 +04:00
Timothy Jaeryang Baek 90496c28ae refac 2026-10-10 14:42:55 +04:00
Timothy Jaeryang Baek f27fd3d2e6 refac 2026-10-10 14:35:52 +04:00
Timothy Jaeryang Baek 558fe57ca0 refac 2026-10-10 14:32:54 +04:00
Timothy Jaeryang Baek d54aa9836e refac 2026-10-10 14:28:56 +04:00
Timothy Jaeryang Baek 44b71f87ab refac 2026-10-10 14:18:09 +04:00
Timothy Jaeryang Baek 8d0ff76f2b refac 2026-10-10 14:03:26 +04:00
Timothy Jaeryang Baek 255f88eff0 refac 2026-10-10 13:23:30 +04:00
Timothy Jaeryang Baek d4879a98bc refac 2026-10-10 13:19:05 +04:00
Timothy Jaeryang Baek 8e4277bc70 refac 2026-10-10 12:39:27 +04:00
Timothy Jaeryang Baek fdb8cb749c refac 2026-10-10 12:38:27 +04:00
Timothy Jaeryang Baek 2d8c4b60af refac 2026-10-09 17:50:50 +04:00
Timothy Jaeryang Baek b3ce7de8d3 refac 2026-10-09 17:19:10 +04:00
Timothy Jaeryang Baek 27b48b70df refac 2026-10-09 17:05:53 +04:00
Timothy Jaeryang Baek 16849284ff refac 2026-10-09 17:01:47 +04:00
Timothy Jaeryang Baek 7d205a86dc refac 2026-10-08 23:49:38 +04:00
Timothy Jaeryang Baek 55e1c44c94 refac 2026-10-07 17:18:05 +04:00
Timothy Jaeryang Baek e56f85f432 refac 2026-10-07 13:49:55 +04:00
Timothy Jaeryang Baek eda4fed598 refac 2026-10-07 13:39:16 +04:00
Timothy Jaeryang Baek 77db1656e1 refac 2026-10-07 13:31:46 +04:00
Timothy Jaeryang Baek 0ecf244e1c refac 2026-10-07 13:26:26 +04:00
Timothy Jaeryang Baek 7401f41630 refac 2026-10-07 13:22:00 +04:00
Timothy Jaeryang Baek 093bfce2b6 refac 2026-10-07 00:39:16 +04:00
Timothy Jaeryang Baek 106aae70e9 refac 2026-10-06 21:45:10 +04:00
Timothy Jaeryang Baek 5bb1c47080 refac 2026-10-05 12:49:11 +04:00
G30 571dafae36 fix: show unsaved model editor changes in the JSON Preview (#31851) 2026-10-02 08:32:55 +04:00
Timothy Jaeryang Baek fe2c694915 refac 2026-10-02 08:24:53 +04:00
Timothy Jaeryang Baek 9fba2843b1 refac 2026-09-21 11:24:40 -04:00
G30 9758f33b6c fix: save a model whose description is switched from default back to custom (#30249) 2026-09-20 23:42:44 -05:00
G30 af9ef1dcbc fix: hide the group picker from users who may not share with groups (#30189) 2026-09-19 15:34:33 -05:00
G30 677341578d fix: stop the model editor's Builtin Tools section from reading its labels before they exist (#30153) 2026-09-18 19:29:41 -04:00
Timothy Jaeryang Baek 7cbaabe02f refac 2026-09-18 10:51:00 -04:00
Timothy Jaeryang Baek 66addbd6b4 refac 2026-09-15 22:47:03 -04:00