fix: match mcp headers in provider data to Responses API shape (#2263)

This commit is contained in:
Ashwin Bharambe 2025-05-25 14:33:10 -07:00 committed by GitHub
parent ce33d02443
commit 9623d5d230
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 17 deletions

View file

@ -40,9 +40,9 @@ def test_mcp_invocation(llama_stack_client, mcp_server):
provider_data = {
"mcp_headers": {
uri: [
f"Authorization: Bearer {AUTH_TOKEN}",
],
uri: {
"Authorization": f"Bearer {AUTH_TOKEN}",
},
},
}
auth_headers = {