mirror of
https://github.com/codewhale-hq/Codewhale.git
synced 2026-11-09 01:49:49 -10:00
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:
1 parent
75b3661956
commit
69824d3256
1 file changed
+1
-3
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user