Remove obsolete project artifacts
Some checks failed
Verify and publish container / build-and-push (push) Failing after 33s

This commit is contained in:
Elijah 2026-08-08 18:50:16 -07:00
parent 5db7fc8afd
commit e8dffc9692
58 changed files with 174 additions and 7563 deletions

View file

@ -1,7 +1,6 @@
import { prisma } from "@/lib/db";
import { ARCADE_SERVER_REGISTRY } from "@/lib/arcade/registry";
export type LlmInstructionType = "flashcards" | "quizzes" | "connections" | "crossword";
export type LlmInstructionType = "flashcards" | "quizzes";
const DEFAULT_LLM_INSTRUCTIONS_FLASHCARDS = `You are generating study materials in a strict JSON format for import into a
personal study app. The overall output must be raw JSON with no wrapping
@ -53,9 +52,7 @@ Material:
function instructionConfig(type: LlmInstructionType) {
if (type === "flashcards") return { key: "llmInstructionsFlashcards", value: DEFAULT_LLM_INSTRUCTIONS_FLASHCARDS };
if (type === "quizzes") return { key: "llmInstructionsQuizzes", value: DEFAULT_LLM_INSTRUCTIONS_QUIZZES };
if (type === "connections") return { key: "llmInstructionsConnections", value: ARCADE_SERVER_REGISTRY.connections.defaultInstructions };
return { key: "llmInstructionsCrossword", value: ARCADE_SERVER_REGISTRY.crossword.defaultInstructions };
return { key: "llmInstructionsQuizzes", value: DEFAULT_LLM_INSTRUCTIONS_QUIZZES };
}
export async function getLlmInstructions(type: LlmInstructionType): Promise<string> {