don't show full config keys

This commit is contained in:
Pulkit Sharma
2025-04-09 01:12:02 +05:30
parent 779ca20568
commit 48917ca4e5
4 changed files with 23 additions and 15 deletions

View File

@@ -343,7 +343,7 @@ describe("Sidebar Environment Variables", () => {
expect(setConfig).toHaveBeenCalledWith(
expect.objectContaining({
MCP_SERVER_REQUEST_TIMEOUT: {
description: "Timeout for requests to the MCP server (ms)",
description: "Request Timeout",
value: 5000,
},
}),
@@ -366,8 +366,7 @@ describe("Sidebar Environment Variables", () => {
expect(setConfig).toHaveBeenCalledWith(
expect.objectContaining({
MCP_PROXY_FULL_ADDRESS: {
description:
"Set this if you are running the MCP Inspector Proxy on a non-default address. Example: http://10.1.1.22:5577",
description: "Inspector Proxy Address",
value: "http://localhost:8080",
},
}),
@@ -390,8 +389,7 @@ describe("Sidebar Environment Variables", () => {
expect(setConfig).toHaveBeenCalledWith(
expect.objectContaining({
MCP_REQUEST_MAX_TOTAL_TIMEOUT: {
description:
"Maximum total timeout for requests sent to the MCP server (ms) (Use with progress notifications)",
description: "Maximum Total Timeout",
value: 10000,
},
}),
@@ -412,7 +410,7 @@ describe("Sidebar Environment Variables", () => {
expect(setConfig).toHaveBeenCalledWith(
expect.objectContaining({
MCP_SERVER_REQUEST_TIMEOUT: {
description: "Timeout for requests to the MCP server (ms)",
description: "Request Timeout",
value: 0,
},
}),
@@ -457,7 +455,7 @@ describe("Sidebar Environment Variables", () => {
expect(setConfig).toHaveBeenLastCalledWith(
expect.objectContaining({
MCP_SERVER_REQUEST_TIMEOUT: {
description: "Timeout for requests to the MCP server (ms)",
description: "Request Timeout",
value: 3000,
},
}),