diff --git a/app/api/chat/route.ts b/app/api/chat/route.ts index e312fa5..e8898e0 100644 --- a/app/api/chat/route.ts +++ b/app/api/chat/route.ts @@ -2,11 +2,9 @@ import { NextRequest, NextResponse } from "next/server"; const HF_MODELS: Record = { "yuuki-v0.1": - "https://api-inference.huggingface.co/models/YuuKi-OS/Yuuki-v0.1", - "yuuki-3.7": - "https://api-inference.huggingface.co/models/YuuKi-OS/Yuuki-3.7", - "yuuki-best": - "https://api-inference.huggingface.co/models/YuuKi-OS/Yuuki-best", + "https://router.huggingface.co/models/YuuKi-OS/Yuuki-v0.1": + "https://router.huggingface.co/models/YuuKi-OS/Yuuki-3.7": + "https://router.huggingface.co/models/YuuKi-OS/Yuuki-best", }; const YUUKI_API_MODELS: Record = {