Fresh history cut from cynarAI/evoo antigravity-handoff/project-timeline (Voice First + project timeline). Brand docs/titles as evOo; keep @rakazo/* packages as tech debt. Excludes node_modules, caches, secrets, voice blobs.
25 lines
749 B
TypeScript
25 lines
749 B
TypeScript
import { createDb } from "../packages/db/src/index.js";
|
|
|
|
async function run() {
|
|
const { prisma } = createDb("postgres://ingowagner@127.0.0.1:5432/evoo");
|
|
const steve = await prisma.bot.findFirst({ where: { name: "Steve Jobs" } });
|
|
console.log("Steve Jobs modelId:", steve?.modelId);
|
|
const run = await prisma.run.findUnique({
|
|
where: { id: "cmu7jw8dr000biryyrethbore" },
|
|
});
|
|
console.log("Run details:", {
|
|
id: run?.id,
|
|
modelId: run?.modelId,
|
|
status: run?.status,
|
|
createdAt: run?.createdAt,
|
|
});
|
|
const model = await prisma.model.findUnique({
|
|
where: { id: run?.modelId || steve?.modelId || "" },
|
|
});
|
|
console.log("Model record in DB:", model);
|
|
}
|
|
|
|
run()
|
|
.catch(console.error)
|
|
.finally(() => process.exit(0));
|