feat: admin log page

This commit is contained in:
2025-01-25 00:00:04 +01:00
parent 979627ca2a
commit 00e7820462
8 changed files with 73 additions and 15 deletions

View File

@@ -3,7 +3,7 @@ import { zodResponseFormat } from "https://deno.land/x/openai@v4.69.0/helpers/zo
import { OPENAI_API_KEY } from "@lib/env.ts";
import { hashString } from "@lib/helpers.ts";
import { createCache } from "@lib/cache.ts";
import recipeSchema, { recipeResponseSchema } from "@lib/recipeSchema.ts";
import { recipeResponseSchema } from "@lib/recipeSchema.ts";
const openAI = OPENAI_API_KEY && new OpenAI({ apiKey: OPENAI_API_KEY });