mirror of
https://github.com/infinilabs/coco-app.git
synced 2025-12-14 18:47:42 +01:00
chore: debug datasource component (#483)
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -25,3 +25,4 @@ src/components/web
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
.env
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ function WebApp({
|
||||
height = 590,
|
||||
headers = {
|
||||
"X-API-TOKEN":
|
||||
"cvqt6r02sdb2v3bkgip0x3ixv01f3r2lhnxoz1efbn160wm9og58wtv8t6wrv1ebvnvypuc23dx9pb33aemh",
|
||||
"d0erda62a89cir2p1rdgbdkjynbtwxa93e86op8fwyujsht11ckbcugw2zlp1lrvb87cnalv90p22jqbam21",
|
||||
"APP-INTEGRATION-ID": "cvkm9hmhpcemufsg3vug",
|
||||
},
|
||||
// token = "cva1j5ehpcenic3ir7k0h8fb8qtv35iwtywze248oscrej8yoivhb5b1hyovp24xejjk27jy9ddt69ewfi3n", // https://coco.infini.cloud
|
||||
|
||||
Reference in New Issue
Block a user