mirror of
https://github.com/jnsahaj/tweakcn.git
synced 2026-08-28 23:02:07 +08:00
change theme-gen model to 2.5 pro
This commit is contained in:
@@ -54,7 +54,7 @@ export async function POST(req: NextRequest) {
|
||||
const stream = createUIMessageStream<ChatMessage>({
|
||||
execute: ({ writer }) => {
|
||||
const context: AdditionalAIContext = { writer };
|
||||
const model = myProvider.languageModel("theme-generation");
|
||||
const model = myProvider.languageModel("base");
|
||||
|
||||
const result = streamText({
|
||||
abortSignal: req.signal,
|
||||
|
||||
Reference in New Issue
Block a user