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:
RWDai
2026-04-17 11:10:05 +08:00
committed by GitHub
parent 6964729cb7
commit 96a25d058b
15 changed files with 89 additions and 37 deletions

View File

@@ -936,7 +936,7 @@ fn ai_pipeline_video_routes_request_preparation_through_request_payload_seams()
"resolve_candidate_mapped_model(",
"build_provider_request_body(",
"build_video_upstream_url(",
"resolve_local_openai_chat_auth(",
"resolve_local_openai_bearer_auth(",
"resolve_local_gemini_auth(",
] {
assert!(

View File

@@ -803,7 +803,7 @@ fn model_fetch_runtime_paths_depend_on_shared_crates_not_local_pure_helpers() {
"execute_execution_runtime_sync_plan(state, None, &plan)",
"resolve_local_standard_auth(",
"resolve_local_gemini_auth(",
"resolve_local_openai_chat_auth(",
"resolve_local_openai_bearer_auth(",
"resolve_local_vertex_api_key_query_auth(",
"apply_local_header_rules(",
"ensure_upstream_auth_header(",