basic user-tailored UI

This commit is contained in:
Avraham Sakal
2025-09-18 10:45:00 -04:00
parent 83e3f867dd
commit 61540f9338
8 changed files with 43 additions and 34 deletions
+2
View File
@@ -3,6 +3,7 @@ import { TypeCompiler } from "@sinclair/typebox/compiler";
import { initTRPC, TRPCError } from "@trpc/server";
import type { getDb } from "../database/postgres";
import type { getOpenrouter } from "../pages/chat/provider";
import type { JWT } from "@auth/core/jwt";
/**
* Initialization of tRPC backend
@@ -13,6 +14,7 @@ const t = initTRPC
object & {
db: ReturnType<typeof getDb>;
openrouter: ReturnType<typeof getOpenrouter>;
jwt?: JWT | null;
}
>()
.create(/*{