Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Point the tool time field at its range message again
aivsomkar0a4f18fb2db5
diff --git a/src/components/McpCallTimeoutSettings.test.ts b/src/components/McpCallTimeoutSettings.test.tsindex 3a856c8137..2272909f7e 100644--- a/src/components/McpCallTimeoutSettings.test.ts+++ b/src/components/McpCallTimeoutSettings.test.ts@@ -93,4 +93,13 @@ describe("McpCallTimeoutSettings", () => {expect(input().value).toBe("10");expect(host.querySelector('[role="alert"]')).toBeNull();});++ it("names the range message as the field's description when the value is out of range", () => {+ render();+ type("0");+ blur();+ const alert = host.querySelector('[role="alert"]')!;+ expect(input().getAttribute("aria-invalid")).toBe("true");+ expect(input().getAttribute("aria-describedby")).toBe(alert.id);+ });});diff --git a/src/components/McpCallTimeoutSettings.tsx b/src/components/McpCallTimeoutSettings.tsxindex d4ba0f4f99..aeba9124fc 100644--- a/src/components/McpCallTimeoutSettings.tsx+++ b/src/components/McpCallTimeoutSettings.tsx@@ -66,6 +66,7 @@ export function McpCallTimeoutSettings() {disabled={saving}aria-label={t("settings.limits.toolTime")}aria-invalid={Boolean(error)}+ aria-describedby={error ? "mcp-call-timeout-error" : undefined}title={t("settings.mcpCalls.help")}onChange={(event) => {setValue(event.target.value);