mirror of
https://github.com/openai/codex.git
synced 2026-11-05 20:10:33 +00:00
test(core): annotate custom model helper literals
This commit is contained in:
@@ -2211,11 +2211,11 @@ fn session_telemetry(
|
||||
conversation_id,
|
||||
ModelsManager::get_model_offline_for_tests(config.model.as_deref()).as_str(),
|
||||
model_info.slug.as_str(),
|
||||
None,
|
||||
/*account_id*/ None,
|
||||
Some("test@test.com".to_string()),
|
||||
Some(TelemetryAuthMode::Chatgpt),
|
||||
"test_originator".to_string(),
|
||||
false,
|
||||
/*log_user_prompts*/ false,
|
||||
"test".to_string(),
|
||||
session_source,
|
||||
)
|
||||
|
||||
@@ -570,7 +570,7 @@ async fn refresh_available_models_skips_network_without_chatgpt_auth() {
|
||||
let codex_home = tempdir().expect("temp dir");
|
||||
let auth_manager = Arc::new(AuthManager::new(
|
||||
codex_home.path().to_path_buf(),
|
||||
false,
|
||||
/*enable_codex_api_key_env*/ false,
|
||||
AuthCredentialsStoreMode::File,
|
||||
));
|
||||
let provider = provider_for(server.uri());
|
||||
|
||||
Reference in New Issue
Block a user