移除修复重试流程中的隐式恐慌

在循环意外结束时返回可恢复错误而不是触发 unreachable。
This commit is contained in:
2026-09-11 18:53:34 +08:00
parent 8d15125f12
commit 3774d7c1e1
@@ -67,7 +67,7 @@ where
Err(error) => return Err(error),
}
}
unreachable!("repair history runner always returns within requested retries")
Err("LLM 修复重试流程未产生结果".to_string())
}
pub(crate) fn parse_limited_llm_tool_arguments(