mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-09 02:47:45 +08:00
feat: add selectable routing groups and composite billing
Support per-model provider enablement and compact model editing. Capture request-time billing factors, charge customer costs separately, and preserve historical statistics without backfills.
This commit is contained in:
@@ -109,7 +109,10 @@ mod tests {
|
||||
assert_eq!(profile.originator, "codex_cli_rs");
|
||||
assert!(profile.user_agent.starts_with("codex_cli_rs/0.200.1 ("));
|
||||
assert!(profile.user_agent.ends_with(") unknown"));
|
||||
assert!(profile.user_agent.contains(std::env::consts::ARCH));
|
||||
let architecture = super::OS_INFO
|
||||
.architecture()
|
||||
.unwrap_or(std::env::consts::ARCH);
|
||||
assert!(profile.user_agent.contains(&format!("; {architecture})")));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user