mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
fix flags validation and new stack architech design
This commit is contained in:
@@ -70,7 +70,6 @@ app.use("/trpc/*", trpcServer({
|
||||
{{/if}}
|
||||
|
||||
{{#if (includes examples "ai")}}
|
||||
// AI chat endpoint
|
||||
app.post("/ai", async (c) => {
|
||||
const body = await c.req.json();
|
||||
const messages = body.messages || [];
|
||||
|
||||
Reference in New Issue
Block a user