// Route: GET /ai/xai/platform (page, no credential needed) #include "support/Assert.hpp" using namespace molo::example::test; int main() { unsetenv("XAI_API_KEY"); unsetenv("XAI_MANAGEMENT_KEY"); Fixture f; auto res = f.client->get("/ai/xai/platform"); check(res.status == 200, "status 200"); check(contains(res.headers.get("Content-Type"), "text/html"), "html"); check(contains(res.body, "xAI Platform") && contains(res.body, "viewport"), "page and mobile viewport"); check(contains(res.body, "/embedded/ai_xai_platform.js"), "script wired"); check(contains(res.body, "