mirror of
https://github.com/musistudio/claude-code-router.git
synced 2026-02-03 15:20:50 +08:00
move llms to core package
This commit is contained in:
8
packages/core/src/utils/thinking.ts
Normal file
8
packages/core/src/utils/thinking.ts
Normal 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";
|
||||
};
|
||||
Reference in New Issue
Block a user