mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 09:20:22 +08:00
Fix OpenAI family local auth to use bearer (#302)
* Fix OpenAI family local auth to use bearer * test(gateway): fix bearer auth assertions for openai local flows * test(usage): make local usage status wait resilient * style(gateway): apply rustfmt to usage test helper --------- Co-authored-by: fawney19 <elky0401@gmail.com>
This commit is contained in:
@@ -202,7 +202,7 @@ pub(super) async fn maybe_build_local_test_connection_route_response(
|
||||
|
||||
let auth = match format_value.as_str() {
|
||||
"openai:chat" => {
|
||||
crate::provider_transport::auth::resolve_local_openai_chat_auth(&transport)
|
||||
crate::provider_transport::auth::resolve_local_openai_bearer_auth(&transport)
|
||||
.or(oauth_auth.clone())
|
||||
}
|
||||
"claude:chat" => crate::provider_transport::auth::resolve_local_standard_auth(&transport)
|
||||
|
||||
Reference in New Issue
Block a user