Release 0.1.5
Release / Prepare release (push) Successful in 8s
Release / Build release assets (push) Successful in 9m9s

This commit is contained in:
2026-05-29 12:43:19 +08:00
Unverified
parent a9543cd36f
commit d70e25ad18
3 changed files with 7 additions and 3 deletions
Generated
+1 -1
View File
@@ -232,7 +232,7 @@ dependencies = [
[[package]]
name = "cdxs"
version = "0.1.4"
version = "0.1.5"
dependencies = [
"anyhow",
"axum",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "cdxs"
version = "0.1.4"
version = "0.1.5"
edition = "2021"
description = "Codex account switcher CLI"
+5 -1
View File
@@ -33,8 +33,12 @@ fn apply_api_key_provider(codex_home: &Path, account: &Account) -> Result<()> {
let providers = table_entry(&mut config, "model_providers");
let mut provider = Map::new();
provider.insert("name".to_string(), Value::String("cdxs api".to_string()));
provider.insert("name".to_string(), Value::String("OpenAI".to_string()));
provider.insert("base_url".to_string(), Value::String(base_url));
provider.insert(
"wire_api".to_string(),
Value::String("responses".to_string()),
);
provider.insert("requires_openai_auth".to_string(), Value::Boolean(true));
providers.insert(provider_id, Value::Table(provider));
changed = true;