fix: updating provider configuration (#2187)

This commit is contained in:
yetone
2025-06-07 18:02:35 +08:00
committed by GitHub
parent b7959191a3
commit ac5dc900eb
4 changed files with 35 additions and 42 deletions

View File

@@ -111,6 +111,9 @@ function M.open()
},
})
local provider_cfg = Providers[choice.provider_name]
if provider_cfg then provider_cfg.model = choice.model end
Utils.info("Switched to model: " .. choice.name)
end