mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
39a9784d2a
Previously, registerProvider() overwrote the stored config for a provider, so a models registration followed by a baseUrl/headers-only override lost the models. After refresh(), only the override-only config was replayed, causing extension-provided models to disappear. Added upsertRegisteredProvider() that merges defined fields into the existing stored config instead of replacing it. Fields absent from the incoming config are preserved from the stored config. Also adds regression tests for dynamic provider override persistence across refresh.
39a9784d2a
ยท
2026-04-24 20:15:35 +02:00
History