From e1aeabdb5fcb28679a5899dad99d0a6bcc52c2df Mon Sep 17 00:00:00 2001 From: Chummy Date: Wed, 18 Feb 2026 22:47:26 +0800 Subject: [PATCH] fix(providers): align compatible chat client and response test --- src/providers/compatible.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/providers/compatible.rs b/src/providers/compatible.rs index c19f3e6..074ee45 100644 --- a/src/providers/compatible.rs +++ b/src/providers/compatible.rs @@ -1054,7 +1054,7 @@ impl Provider for OpenAiCompatibleProvider { let url = self.chat_completions_url(); let response = self - .apply_auth_header(self.client.post(&url).json(&native_request), credential) + .apply_auth_header(self.http_client().post(&url).json(&native_request), credential) .send() .await?; @@ -1635,6 +1635,7 @@ mod tests { arguments: Some(r#"{"command":"pwd"}"#.to_string()), }), }]), + reasoning_content: None, }; let parsed = OpenAiCompatibleProvider::parse_native_response(message);