Complete comprehensive Codex → LLMX branding update

Fixed all remaining user-facing "Codex" references across entire codebase:
- Updated all UI strings and error messages
- Fixed GitHub issue templates and workflows
- Updated MCP server tool descriptions and error messages
- Fixed all test messages and comments
- Updated documentation comments
- Changed auth keyring service name to "LLMX Auth"

Reduced from 201 occurrences to only code identifiers (struct/type names).
Changes span 78 files across Rust, Python, YAML, and JSON.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Sebastian Krüger
2025-11-11 16:01:04 +01:00
parent cf72f42a77
commit 831e6fa6b5
78 changed files with 242 additions and 242 deletions

View File

@@ -193,7 +193,7 @@ fn first_assistant(messages: &[Value]) -> &Value {
async fn omits_reasoning_when_none_present() {
if network_disabled() {
println!(
"Skipping test because it cannot execute when network is disabled in a Codex sandbox."
"Skipping test because it cannot execute when network is disabled in an LLMX sandbox."
);
return;
}
@@ -210,7 +210,7 @@ async fn omits_reasoning_when_none_present() {
async fn attaches_reasoning_to_previous_assistant() {
if network_disabled() {
println!(
"Skipping test because it cannot execute when network is disabled in a Codex sandbox."
"Skipping test because it cannot execute when network is disabled in an LLMX sandbox."
);
return;
}
@@ -232,7 +232,7 @@ async fn attaches_reasoning_to_previous_assistant() {
async fn attaches_reasoning_to_function_call_anchor() {
if network_disabled() {
println!(
"Skipping test because it cannot execute when network is disabled in a Codex sandbox."
"Skipping test because it cannot execute when network is disabled in an LLMX sandbox."
);
return;
}
@@ -259,7 +259,7 @@ async fn attaches_reasoning_to_function_call_anchor() {
async fn attaches_reasoning_to_local_shell_call() {
if network_disabled() {
println!(
"Skipping test because it cannot execute when network is disabled in a Codex sandbox."
"Skipping test because it cannot execute when network is disabled in an LLMX sandbox."
);
return;
}
@@ -284,7 +284,7 @@ async fn attaches_reasoning_to_local_shell_call() {
async fn drops_reasoning_when_last_role_is_user() {
if network_disabled() {
println!(
"Skipping test because it cannot execute when network is disabled in a Codex sandbox."
"Skipping test because it cannot execute when network is disabled in an LLMX sandbox."
);
return;
}
@@ -303,7 +303,7 @@ async fn drops_reasoning_when_last_role_is_user() {
async fn ignores_reasoning_before_last_user() {
if network_disabled() {
println!(
"Skipping test because it cannot execute when network is disabled in a Codex sandbox."
"Skipping test because it cannot execute when network is disabled in an LLMX sandbox."
);
return;
}
@@ -323,7 +323,7 @@ async fn ignores_reasoning_before_last_user() {
async fn skips_empty_reasoning_segments() {
if network_disabled() {
println!(
"Skipping test because it cannot execute when network is disabled in a Codex sandbox."
"Skipping test because it cannot execute when network is disabled in an LLMX sandbox."
);
return;
}
@@ -344,7 +344,7 @@ async fn skips_empty_reasoning_segments() {
async fn suppresses_duplicate_assistant_messages() {
if network_disabled() {
println!(
"Skipping test because it cannot execute when network is disabled in a Codex sandbox."
"Skipping test because it cannot execute when network is disabled in an LLMX sandbox."
);
return;
}

View File

@@ -159,7 +159,7 @@ fn assert_reasoning(item: &ResponseItem, expected: &str) {
async fn streams_text_without_reasoning() {
if network_disabled() {
println!(
"Skipping test because it cannot execute when network is disabled in a Codex sandbox."
"Skipping test because it cannot execute when network is disabled in an LLMX sandbox."
);
return;
}
@@ -195,7 +195,7 @@ async fn streams_text_without_reasoning() {
async fn streams_reasoning_from_string_delta() {
if network_disabled() {
println!(
"Skipping test because it cannot execute when network is disabled in a Codex sandbox."
"Skipping test because it cannot execute when network is disabled in an LLMX sandbox."
);
return;
}
@@ -246,7 +246,7 @@ async fn streams_reasoning_from_string_delta() {
async fn streams_reasoning_from_object_delta() {
if network_disabled() {
println!(
"Skipping test because it cannot execute when network is disabled in a Codex sandbox."
"Skipping test because it cannot execute when network is disabled in an LLMX sandbox."
);
return;
}
@@ -303,7 +303,7 @@ async fn streams_reasoning_from_object_delta() {
async fn streams_reasoning_from_final_message() {
if network_disabled() {
println!(
"Skipping test because it cannot execute when network is disabled in a Codex sandbox."
"Skipping test because it cannot execute when network is disabled in an LLMX sandbox."
);
return;
}
@@ -335,7 +335,7 @@ async fn streams_reasoning_from_final_message() {
async fn streams_reasoning_before_tool_call() {
if network_disabled() {
println!(
"Skipping test because it cannot execute when network is disabled in a Codex sandbox."
"Skipping test because it cannot execute when network is disabled in an LLMX sandbox."
);
return;
}
@@ -385,7 +385,7 @@ async fn streams_reasoning_before_tool_call() {
async fn chat_sse_emits_failed_on_parse_error() {
if network_disabled() {
println!(
"Skipping test because it cannot execute when network is disabled in a Codex sandbox."
"Skipping test because it cannot execute when network is disabled in an LLMX sandbox."
);
return;
}
@@ -422,7 +422,7 @@ async fn chat_sse_emits_failed_on_parse_error() {
async fn chat_sse_done_chunk_emits_event() {
if network_disabled() {
println!(
"Skipping test because it cannot execute when network is disabled in a Codex sandbox."
"Skipping test because it cannot execute when network is disabled in an LLMX sandbox."
);
return;
}
@@ -445,7 +445,7 @@ async fn chat_sse_done_chunk_emits_event() {
async fn chat_sse_emits_error_on_invalid_utf8() {
if network_disabled() {
println!(
"Skipping test because it cannot execute when network is disabled in a Codex sandbox."
"Skipping test because it cannot execute when network is disabled in an LLMX sandbox."
);
return;
}

View File

@@ -346,7 +346,7 @@ macro_rules! skip_if_no_network {
() => {{
if ::std::env::var($crate::sandbox_network_env_var()).is_ok() {
println!(
"Skipping test because it cannot execute when network is disabled in a Codex sandbox."
"Skipping test because it cannot execute when network is disabled in an LLMX sandbox."
);
return;
}
@@ -354,7 +354,7 @@ macro_rules! skip_if_no_network {
($return_value:expr $(,)?) => {{
if ::std::env::var($crate::sandbox_network_env_var()).is_ok() {
println!(
"Skipping test because it cannot execute when network is disabled in a Codex sandbox."
"Skipping test because it cannot execute when network is disabled in an LLMX sandbox."
);
return $return_value;
}

View File

@@ -126,7 +126,7 @@ async fn exec_cli_applies_experimental_instructions_file() {
let custom_path_str = custom_path.to_string_lossy().replace('\\', "/");
// Build a provider override that points at the mock server and instructs
// Codex to use the Responses API with the dummy env var.
// LLMX to use the Responses API with the dummy env var.
let provider_override = format!(
"model_providers.mock={{ name = \"mock\", base_url = \"{}/v1\", env_key = \"PATH\", wire_api = \"responses\" }}",
server.uri()

View File

@@ -240,7 +240,7 @@ async fn resume_includes_initial_messages_and_sends_prior_items() {
responses::mount_sse_once_match(&server, path("/v1/responses"), sse_completed("resp1"))
.await;
// Configure Codex to resume from our file
// Configure LLMX to resume from our file
let model_provider = ModelProviderInfo {
base_url: Some(format!("{}/v1", server.uri())),
..built_in_model_providers()["openai"].clone()
@@ -1325,7 +1325,7 @@ fn create_dummy_codex_auth() -> CodexAuth {
/// We assert that the `input` sent on each turn contains the expected conversation history
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
async fn history_dedupes_streamed_and_final_messages_across_turns() {
// Skip under Codex sandbox network restrictions (mirrors other tests).
// Skip under LLMX sandbox network restrictions (mirrors other tests).
skip_if_no_network!();
// Mock server that will receive three sequential requests and return the same SSE stream

View File

@@ -122,7 +122,7 @@ async fn summarize_context_three_requests_and_instructions() {
};
let third_request_mock = mount_sse_once_match(&server, third_matcher, sse3).await;
// Build config pointing to the mock server and spawn Codex.
// Build config pointing to the mock server and spawn LLMX.
let model_provider = ModelProviderInfo {
base_url: Some(format!("{}/v1", server.uri())),
..built_in_model_providers()["openai"].clone()
@@ -257,7 +257,7 @@ async fn summarize_context_three_requests_and_instructions() {
"third request should not include the summarize trigger"
);
// Shut down Codex to flush rollout entries before inspecting the file.
// Shut down LLMX to flush rollout entries before inspecting the file.
codex.submit(Op::Shutdown).await.unwrap();
wait_for_event(&codex, |ev| matches!(ev, EventMsg::ShutdownComplete)).await;

View File

@@ -4,7 +4,7 @@
//!
//! Each test sets up a mocked SSE conversation and drives the conversation through
//! a specific sequence of operations. After every operation we capture the
//! request payload that Codex would send to the model and assert that the
//! request payload that LLMX would send to the model and assert that the
//! model-visible history matches the expected sequence of messages.
use super::compact::COMPACT_WARNING_MESSAGE;

View File

@@ -44,7 +44,7 @@ async fn fork_conversation_twice_drops_to_first_message() {
.mount(&server)
.await;
// Configure Codex to use the mock server.
// Configure LLMX to use the mock server.
let model_provider = ModelProviderInfo {
base_url: Some(format!("{}/v1", server.uri())),
..built_in_model_providers()["openai"].clone()

View File

@@ -66,7 +66,7 @@ async fn quota_exceeded_emits_single_error_event() -> Result<()> {
}
}
assert_eq!(error_events, 1, "expected exactly one Codex:Error event");
assert_eq!(error_events, 1, "expected exactly one LLMX:Error event");
Ok(())
}

View File

@@ -40,7 +40,7 @@ use wiremock::matchers::path;
/// in that order when the model returns a structured review JSON payload.
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
async fn review_op_emits_lifecycle_and_review_output() {
// Skip under Codex sandbox network restrictions.
// Skip under LLMX sandbox network restrictions.
skip_if_no_network!();
// Start mock Responses API server. Return a single assistant message whose

View File

@@ -68,12 +68,12 @@ fn init_git_repo(path: &Path) -> Result<()> {
// CI variance (default-branch hints, line ending differences, etc.).
git(path, &["init", "--initial-branch=main"])?;
git(path, &["config", "core.autocrlf", "false"])?;
git(path, &["config", "user.name", "Codex Tests"])?;
git(path, &["config", "user.name", "LLMX Tests"])?;
git(path, &["config", "user.email", "codex-tests@example.com"])?;
// Create README.txt
let readme_path = path.join("README.txt");
fs::write(&readme_path, "Test repository initialized by Codex.\n")?;
fs::write(&readme_path, "Test repository initialized by LLMX.\n")?;
// Stage and commit
git(path, &["add", "README.txt"])?;

View File

@@ -382,7 +382,7 @@ async fn view_image_tool_placeholder_for_non_image_files() -> anyhow::Result<()>
content.iter().find_map(|span| {
if span.get("type").and_then(Value::as_str) == Some("input_text") {
let text = span.get("text").and_then(Value::as_str)?;
if text.contains("Codex could not read the local image at")
if text.contains("LLMX could not read the local image at")
&& text.contains("unsupported MIME type `application/json`")
{
return Some(text.to_string());