
    path: /v1/engines/copilot-codex/completions
    method: POST
    content: b'{"prompt":"// Path: snitch/src/routes/admin.tsx\\n// Compare this snippet from snitch/src/root.tsx:\\n// // @refresh reload\\n// import { Suspense } from \\"solid-js\\";\\n// import {\\n//   Body,\\n//   ErrorBoundary,\\n//   FileRoutes,\\n//   Head,\\n//   Html,\\n//   Meta,\\n//   Routes,\\n//   Scripts,\\n//   Title,\\n//   useLocation,\\n// } from \\"solid-start\\";\\n// import \\"./root.css\\";\\n// \\n// export default function Root() {\\n//   const location = useLocation();\\n//   const active = (path: string) =>\\n//     path == location.pathname\\n//       ? \\"border-sky-600\\"\\n//       : \\"border-transparent hover:border-sky-600\\";\\n//   return (\\n//     <Html lang=\\"en\\" data-theme=\\"light\\">\\n//       <Head>\\n//         <Title>Snitch by fmops.ai</Title>\\n//         <Meta charset=\\"utf-8\\" />\\n//         <Meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1\\" />\\n//       </Head>\\n//       <Body>\\n//         <Suspense>\\n//           <ErrorBoundary>\\n//             <Routes>\\n//               <FileRoutes />\\n//             </Routes>\\n//           </ErrorBoundary>\\n//         </Suspense>\\n//         <Scripts />\\n//       </Body>\\n//     </Html>\\n//   );\\n// }\\n// @refresh reload\\nimport { For } from \\"solid-js\\";\\nimport { A, useLocation } from \\"solid-start\\";\\nimport { Outlet } from \\"solid-start\\";\\n\\nexport default function AdminLayout() {\\n  const location = useLocation();\\n  const active = (path: string) =>\\n    path == location.pathname\\n      ? \\"border-sky-600\\"\\n      : \\"border-transparent hover:border-sky-600\\";\\n  return (\\n    <div class=\\"drawer drawer-open\\">\\n      <input id=\\"my-drawer-2\\" type=\\"checkbox\\" class=\\"drawer-toggle\\" />\\n      <div class=\\"drawer-content\\">\\n        <div class=\\"max-w-[100vw] px-6 pb-16 xl:pr-2\\">\\n          <Outlet />\\n        </div>\\n      </div>\\n      <div class=\\"drawer-side\\">\\n        <label for=\\"my-drawer-2\\" class=\\"drawer-overlay\\"></label>\\n        <ul class=\\"menu p-4 w-80 h-full bg-base-200 text-base-content\\">\\n          <li>\\n            <A href=\\"/admin/dashboard\\">Dashboard</A>\\n          </li>\\n          <li>\\n            <p>Monitors</p>\\n            <ul>\\n              <For\\n                each={[\\n                  [\\"ChatGPT\\", \\"/admin/monitors/chatgpt\\"],\\n                  [\\"Github Copilot\\", \\"/admin/monitors/github_copilot\\"],\\n                  [\\"OpenAI API\\", \\"/admin/monitors/openai_api\\"],\\n                  [\\"HuggingChat\\", \\"/admin/monitors/huggingchat\\"],\\n                ]}\\n              >\\n                {([name, path]) => (\\n                  <li>\\n                    <A href={path}>{name}</A>\\n                    <div class=\\"divider\\"></div>\\n                    <ul>\\n","suffix":"</li>\\n                )}\\n              </For>\\n            </ul>\\n          </li>\\n          <li>\\n            <A href=\\"/admin/users\\">Users</A>\\n          </li>\\n          <li>\\n            <A href=\\"/admin/interstitials\\">Interstitials</A>\\n          </li>\\n          <li>\\n            <A href=\\"/admin/flow_controls\\">Flow Controls</A>\\n          </li>\\n          <li>\\n            <A href=\\"/admin/ai_traffic\\">AI Traffic Detection</A>\\n          </li>\\n        </ul>\\n      </div>\\n    </div>\\n  );\\n}\\n","max_tokens":500,"temperature":0.4,"top_p":1,"n":10,"stop":["\\n\\n\\n"],"logprobs":2,"nwo":"fmops/fmocode","stream":true,"extra":{"language":"typescriptreact","next_indent":18,"prompt_tokens":769,"suffix_tokens":149,"force_indent":18,"trim_by_indentation":true}}'
    