Merge branch 'main' into handle-empty-json-fields
This commit is contained in:
@@ -7,11 +7,9 @@ const PingTab = ({ onPingClick }: { onPingClick: () => void }) => {
|
|||||||
<div className="col-span-2 flex justify-center items-center">
|
<div className="col-span-2 flex justify-center items-center">
|
||||||
<Button
|
<Button
|
||||||
onClick={onPingClick}
|
onClick={onPingClick}
|
||||||
className="bg-gradient-to-r from-purple-500 to-pink-500 hover:from-purple-600 hover:to-pink-600 text-white font-bold py-6 px-12 rounded-full shadow-lg transform transition duration-300 hover:scale-110 focus:outline-none focus:ring-4 focus:ring-purple-300 animate-pulse"
|
className="font-bold py-6 px-12 rounded-full"
|
||||||
>
|
>
|
||||||
<span className="text-3xl mr-2">🚀</span>
|
Ping Server
|
||||||
MEGA PING
|
|
||||||
<span className="text-3xl ml-2">💥</span>
|
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
|
|||||||
@@ -26,7 +26,9 @@ import { Notification, StdErrNotificationSchema } from "../notificationTypes";
|
|||||||
import { auth } from "@modelcontextprotocol/sdk/client/auth.js";
|
import { auth } from "@modelcontextprotocol/sdk/client/auth.js";
|
||||||
import { authProvider } from "../auth";
|
import { authProvider } from "../auth";
|
||||||
|
|
||||||
const DEFAULT_REQUEST_TIMEOUT_MSEC = 10000;
|
const params = new URLSearchParams(window.location.search);
|
||||||
|
const DEFAULT_REQUEST_TIMEOUT_MSEC =
|
||||||
|
parseInt(params.get("timeout") ?? "") || 10000;
|
||||||
|
|
||||||
interface UseConnectionOptions {
|
interface UseConnectionOptions {
|
||||||
transportType: "stdio" | "sse";
|
transportType: "stdio" | "sse";
|
||||||
|
|||||||
Reference in New Issue
Block a user