chore: debug datasource component (#483)

This commit is contained in:
BiggerRain
2025-05-09 16:16:12 +08:00
committed by GitHub
parent 1c0335feb4
commit a8a4d435fc
3 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@@ -25,3 +25,4 @@ src/components/web
*.njsproj
*.sln
*.sw?
.env

View File

@@ -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<DataSource[]>;
}
export default function SearchPopover({
export default function MCPPopover({
isMCPActive,
setIsMCPActive,
getMCPByServer,
}: SearchPopoverProps) {
}: MCPPopoverProps) {
const { t } = useTranslation();
const { connected } = useChatStore();

View File

@@ -33,7 +33,7 @@ function WebApp({
height = 590,
headers = {
"X-API-TOKEN":
"cvqt6r02sdb2v3bkgip0x3ixv01f3r2lhnxoz1efbn160wm9og58wtv8t6wrv1ebvnvypuc23dx9pb33aemh",
"d0erda62a89cir2p1rdgbdkjynbtwxa93e86op8fwyujsht11ckbcugw2zlp1lrvb87cnalv90p22jqbam21",
"APP-INTEGRATION-ID": "cvkm9hmhpcemufsg3vug",
},
// token = "cva1j5ehpcenic3ir7k0h8fb8qtv35iwtywze248oscrej8yoivhb5b1hyovp24xejjk27jy9ddt69ewfi3n", // https://coco.infini.cloud