移除修复重试流程中的隐式恐慌
在循环意外结束时返回可恢复错误而不是触发 unreachable。
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user