diff --git a/cypress/integration/api/ai.spec.ts b/cypress/integration/api/ai.spec.ts index 19ad1998cc..f402b3416f 100644 --- a/cypress/integration/api/ai.spec.ts +++ b/cypress/integration/api/ai.spec.ts @@ -1,11 +1,11 @@ -context("POST /api/ai", () => { - it("gets an ai response for a given prompty", () => { - cy.request("POST", "/api/ai", { - prompt: "How do I create a primary button", - secret: Cypress.env("OPENAI_API_SECRET"), - }).then((response) => { - expect(response.status).to.eq(200); - expect(response.body).length.to.be.greaterThan(1); - }); - }); -}); +// context("POST /api/ai", () => { +// it("gets an ai response for a given prompty", () => { +// cy.request("POST", "/api/ai", { +// prompt: "How do I create a primary button", +// secret: Cypress.env("OPENAI_API_SECRET"), +// }).then((response) => { +// expect(response.status).to.eq(200); +// expect(response.body).length.to.be.greaterThan(1); +// }); +// }); +// }); diff --git a/packages/paste-website/src/components/site-wrapper/site-header/index.tsx b/packages/paste-website/src/components/site-wrapper/site-header/index.tsx index 6d6c15ce3e..662881aa2e 100644 --- a/packages/paste-website/src/components/site-wrapper/site-header/index.tsx +++ b/packages/paste-website/src/components/site-wrapper/site-header/index.tsx @@ -8,7 +8,7 @@ import "react-github-button/assets/style.css"; import { PASTE_DOCS_TOPBAR } from "../../../constants"; import { ContactUsMenu } from "../../ContactUsMenu"; -import { AssistantLink } from "./AssistantLink"; +// import { AssistantLink } from "./AssistantLink"; import { DarkModeToggle } from "./DarkModeToggle"; import { FigmaButton } from "./FigmaButton"; import { HamburgerToggle } from "./HamburgerToggle"; @@ -45,7 +45,7 @@ export const SiteHeader: React.FC<{ - + {/* TODO: replace when AI connection is fixed */}