fix(rlm): preserve kernel timeout error type

Use the existing PythonRuntime String error in the compatibility eval timeout, matching inline execution. Static signature review, rustfmt and diff check passed; combined Cargo pending.

Signed-off-by: Hunter B <[email protected]>
This commit is contained in:
Hunter B committed 2026-09-29 20:52:33 -07:00
1 parent 75b3661956
commit 69824d3256
1 file changed
+1 -3
+1 -3
View File
@@ -511,9 +511,7 @@ impl RlmTool {
tokio::time::timeout_at(bridge.deadline(), kernel.run(code, Some(&bridge)))
.await
.unwrap_or_else(|_| {
Err(anyhow::anyhow!(
"RLM evaluation reached the parent turn deadline"
))
Err("RLM evaluation reached the parent turn deadline".into())
});
let usage = bridge.usage_snapshot().await;
let round = match round_result {