01huadalang on Discord (screenshot): 我不管改成什么都显示不能用 b.ai,我没用 b.ai
做名字和 id. The provider was stored under the id "b.ai". The editor's Save
first saves the rest under the id the provider has, then renames it, and
provider.Save refused any id that isn't a slug, stored or not, so the
provider could be neither changed nor renamed to one that is right. An id
providers.json has already is now saved as it is; a new provider still
can't be given one (Add, imports, backups and the rename's target are
checked as before).
Verified: TestStoredOddIDSavedAndRenamed (stored b.ai saved, renamed to bai
with key and URL kept, a new c.ai refused) fails without the change. In a
sandbox HOME with the built binary and the real GUI: a provider stored as
"b.ai", ID typed as "bai" and Save showed the reporter's exact error on a build without
this change (Save as on origin/main); with it the editor closes and providers.json has
id bai, was ["b.ai"].