mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:50:52 +00:00
feat: replace custom mcp-types crate with equivalents from rmcp
This commit is contained in:
@@ -35,7 +35,10 @@ model_provider = "ollama"
|
||||
std::fs::write(codex_home.join("config.toml"), config_contents)?;
|
||||
|
||||
let CodexCliOutput { exit_code, output } = run_codex_cli(codex_home, cwd).await?;
|
||||
assert_ne!(0, exit_code, "Codex CLI should exit nonzero.");
|
||||
assert_ne!(
|
||||
0, exit_code,
|
||||
"Codex CLI should exit nonzero. Output was:\n{output}"
|
||||
);
|
||||
assert!(
|
||||
output.contains("ERROR: Failed to initialize codex:"),
|
||||
"expected startup error in output, got: {output}"
|
||||
|
||||
Reference in New Issue
Block a user