fix(provider): 修复 Windsurf PR CI 失败

This commit is contained in:
Entropy.Xu
2026-05-21 02:21:35 +08:00
parent 65c361115a
commit 4112a8b2ea
11 changed files with 38 additions and 37 deletions
@@ -1727,7 +1727,7 @@ async fn execute_execution_runtime_sync_impl(
}
let (mut result_error_type, mut result_error_message) =
execution_error_details(result.error.as_ref(), body_json.as_ref());
if result.status_code < 400 {
if result.status_code < 400 && body_json.is_none() {
if let Some(error_body_json) =
extract_provider_private_stream_error_body(report_context.as_ref(), &body_bytes)
{