mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-09 02:47:45 +08:00
fix(provider): 修复 Windsurf 原生工具桥接
This commit is contained in:
@@ -372,7 +372,10 @@ pub(crate) fn resolve_core_success_background_report_kind(report_kind: &str) ->
|
||||
core_success_background_report_kind(report_kind).map(ToOwned::to_owned)
|
||||
}
|
||||
|
||||
fn resolve_local_sync_error_status_code(status_code: u16, body_json: &serde_json::Value) -> u16 {
|
||||
pub(crate) fn resolve_local_sync_error_status_code(
|
||||
status_code: u16,
|
||||
body_json: &serde_json::Value,
|
||||
) -> u16 {
|
||||
if (400..600).contains(&status_code) {
|
||||
return status_code;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user