We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9f9125 commit 067e271Copy full SHA for 067e271
1 file changed
openhands-sdk/openhands/sdk/agent/acp_agent.py
@@ -403,9 +403,7 @@ def _extract_session_models(
403
def _remote_mcp_headers(spec: dict[str, Any], name: str) -> list[HttpHeader]:
404
"""Convert remote MCP headers/auth into ACP's header-only representation."""
405
raw_headers = spec.get("headers") or {}
406
- headers = [
407
- HttpHeader(name=str(k), value=str(v)) for k, v in raw_headers.items()
408
- ]
+ headers = [HttpHeader(name=str(k), value=str(v)) for k, v in raw_headers.items()]
409
410
auth = spec.get("auth")
411
has_authorization = any(h.name.lower() == "authorization" for h in headers)
0 commit comments