fix: match mcp headers in provider data to Responses API shape

This commit is contained in:
Ashwin Bharambe 2025-05-25 13:47:11 -07:00
parent ce33d02443
commit c10a3a5936
3 changed files with 5 additions and 15 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 = {