feat: add GPT-6 Sol and Luna to model catalog
This commit is contained in:
@@ -569,6 +569,21 @@ mod tests {
|
||||
assert!(matches!(err, ResolveError::MalformedRef(_)));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn builtin_codex_catalog_includes_gpt_6_sol_and_luna() {
|
||||
let models = load_builtin_models().unwrap();
|
||||
|
||||
for model_id in ["gpt-6-sol", "gpt-6-luna"] {
|
||||
let model = models
|
||||
.iter()
|
||||
.find(|model| model.provider == "codex-oauth" && model.id == model_id)
|
||||
.unwrap_or_else(|| panic!("missing codex-oauth/{model_id}"));
|
||||
assert_eq!(model.context_window, Some(1_050_000));
|
||||
assert_eq!(model.max_context_window, Some(272_000));
|
||||
assert!(model.capability.is_some());
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn load_providers_from_path() {
|
||||
let dir = tempfile::tempdir().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user