diff --git a/.gitignore b/.gitignore index e999d9c9..a21ed95c 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ src/components/web *.njsproj *.sln *.sw? +.env diff --git a/src/components/Search/MCPPopover.tsx b/src/components/Search/MCPPopover.tsx index d90b354e..0f2d643a 100644 --- a/src/components/Search/MCPPopover.tsx +++ b/src/components/Search/MCPPopover.tsx @@ -24,7 +24,7 @@ import NoDataImage from "@/components/Common/NoDataImage"; import PopoverInput from "../Common/PopoverInput"; import FontIcon from "../Common/Icons/FontIcon"; -interface SearchPopoverProps { +interface MCPPopoverProps { isMCPActive: boolean; setIsMCPActive: () => void; getMCPByServer: ( @@ -37,11 +37,11 @@ interface SearchPopoverProps { ) => Promise; } -export default function SearchPopover({ +export default function MCPPopover({ isMCPActive, setIsMCPActive, getMCPByServer, -}: SearchPopoverProps) { +}: MCPPopoverProps) { const { t } = useTranslation(); const { connected } = useChatStore(); diff --git a/src/pages/web/index.tsx b/src/pages/web/index.tsx index 3da20b66..2f09f4f2 100644 --- a/src/pages/web/index.tsx +++ b/src/pages/web/index.tsx @@ -33,7 +33,7 @@ function WebApp({ height = 590, headers = { "X-API-TOKEN": - "cvqt6r02sdb2v3bkgip0x3ixv01f3r2lhnxoz1efbn160wm9og58wtv8t6wrv1ebvnvypuc23dx9pb33aemh", + "d0erda62a89cir2p1rdgbdkjynbtwxa93e86op8fwyujsht11ckbcugw2zlp1lrvb87cnalv90p22jqbam21", "APP-INTEGRATION-ID": "cvkm9hmhpcemufsg3vug", }, // token = "cva1j5ehpcenic3ir7k0h8fb8qtv35iwtywze248oscrej8yoivhb5b1hyovp24xejjk27jy9ddt69ewfi3n", // https://coco.infini.cloud