feat: unify provider active logic and add env field support for kimi_code_io

This commit is contained in:
KimiSwitch Dev committed 2026-07-09 08:44:11 +08:00
1 parent 3b12844342
commit b01a5661b4
6 files changed
+44 -25

No files matched your search

+1
View File
@@ -258,6 +258,7 @@ fn set_setting_tx(tx: &rusqlite::Transaction, key: &str, value: &str) -> DbResul
fn provider_type_for_str(s: &str) -> ProviderType {
match s {
"anthropic" => ProviderType::Anthropic,
"openai" => ProviderType::Openai,
"openai_responses" => ProviderType::OpenaiResponses,
"google-genai" => ProviderType::GoogleGenai,
"vertexai" => ProviderType::Vertexai,