fix: avoid router settings update name collision

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
mateo 2026-09-02 07:10:04 +00:00
parent 95e09db661
commit aba9644297

View file

@ -16353,8 +16353,8 @@ async def update_config(
for key, value in raw_router_settings.items()
if key not in typed_router_settings and value is not None
}
updates: Final = {**typed_router_settings, **raw_router_settings_without_none}
new_router_settings: Final = {**existing, **updates}
router_settings_updates: Final = {**typed_router_settings, **raw_router_settings_without_none}
new_router_settings: Final = {**existing, **router_settings_updates}
await _upsert_section("router_settings", new_router_settings)
asyncio.create_task(
create_config_audit_log(