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 <[email protected]>
This commit is contained in:
RWDai
2026-04-17 11:10:05 +08:00
committed by GitHub
co-authored by fawney19
parent 6964729cb7
commit 96a25d058b
15 changed files with 89 additions and 37 deletions
@@ -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(",