The open-source agent harness - the runtime layer that turns an LLM into a working agent.
fix: remove `x-tfy-mcp-headers` from the error message. (#528)
debajyoti-truefoundrydb0027c6f652
diff --git a/packages/trueforge-core/src/core/mcp/remoteMcpClient.ts b/packages/trueforge-core/src/core/mcp/remoteMcpClient.tsindex a0384ff82..b76f75ac6 100644--- a/packages/trueforge-core/src/core/mcp/remoteMcpClient.ts+++ b/packages/trueforge-core/src/core/mcp/remoteMcpClient.ts@@ -90,7 +90,7 @@ function toConnectError(error: unknown): McpConnectionError {return error;}if (isAuthError(error)) {- return new McpConnectionError('upstream returned 401 Unauthorized (check x-tfy-mcp-headers credentials)', 401, {+ return new McpConnectionError('upstream returned 401 Unauthorized', 401, {cause: error,});}