move llms to core package

This commit is contained in:
musistudio
2025-12-28 22:42:07 +08:00
parent 60a1f94878
commit 06a18c0734
46 changed files with 9055 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import { ThinkLevel } from "@/types/llm";
export const getThinkLevel = (thinking_budget: number): ThinkLevel => {
if (thinking_budget <= 0) return "none";
if (thinking_budget <= 1024) return "low";
if (thinking_budget <= 8192) return "medium";
return "high";
};