mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
test(mcp): model delegated hook credentials
This commit is contained in:
parent
364e466210
commit
f33bac8080
1 changed files with 5 additions and 1 deletions
|
|
@ -597,7 +597,11 @@ class TestHookHeaderMergePriority:
|
|||
"Authorization": "Bearer oauth2-token",
|
||||
"X-OAuth": "yes",
|
||||
},
|
||||
raw_headers=None,
|
||||
raw_headers={
|
||||
"x-litellm-api-key": "Bearer sk-litellm-key",
|
||||
"authorization": "Bearer oauth2-token",
|
||||
},
|
||||
user_api_key_auth=UserAPIKeyAuth(api_key="sk-litellm-key"),
|
||||
proxy_logging_obj=None,
|
||||
hook_extra_headers={
|
||||
"Authorization": "Bearer hook-jwt",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue