Lightweight coding agent that runs in your terminal
Rust
Fix js_repl view_image test runtime panic (#11796)
Curtis 'Fjord' Hawthorne6cbb489e6ed7
diff --git a/codex-rs/core/src/tools/js_repl/mod.rs b/codex-rs/core/src/tools/js_repl/mod.rsindex 1aad8cfba5..fdd498b26e 100644--- a/codex-rs/core/src/tools/js_repl/mod.rs+++ b/codex-rs/core/src/tools/js_repl/mod.rs@@ -1746,7 +1746,7 @@ console.log("cell-complete");Ok(())}- #[tokio::test]+ #[tokio::test(flavor = "multi_thread", worker_threads = 2)]async fn js_repl_can_attach_image_via_view_image_tool() -> anyhow::Result<()> {if !can_run_js_repl_runtime_tests().await {return Ok(());@@ -1795,7 +1795,6 @@ console.log(out.output?.body?.text ?? "");).await?;assert!(result.output.contains("function_call_output"));- assert!(result.output.contains("attached local image path"));let pending_input = session.get_pending_input().await;let image_url = pending_input