Skip to content

Commit d8018e1

Browse files
author
Jesus Terrazas
committed
Use constants in tooling core
1 parent 9ae5bb6 commit d8018e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/microsoft-agents-a365-tooling/microsoft_agents_a365/tooling/services/mcp_tool_server_configuration_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,8 @@ def _prepare_gateway_headers(
344344
Dictionary of HTTP headers.
345345
"""
346346
return {
347-
"Authorization": f"{Constants.Headers.BEARER_PREFIX} {auth_token}",
348-
"User-Agent": RuntimeUtility.get_user_agent_header(orchestrator_name),
347+
Constants.Headers.AUTHORIZATION: f"{Constants.Headers.BEARER_PREFIX} {auth_token}",
348+
Constants.Headers.USER_AGENT: RuntimeUtility.get_user_agent_header(orchestrator_name),
349349
}
350350

351351
async def _parse_gateway_response(

0 commit comments

Comments
 (0)