From d01535242ed6accfdf117d5955300894abc17986 Mon Sep 17 00:00:00 2001 From: Kevin Hill <107003416+khill-fbmc@users.noreply.github.com> Date: Mon, 31 Mar 2025 03:58:10 -0700 Subject: [PATCH] Update route.ts Is there a reason Ollama is locked to `llama3.1`? --- src/app/[...openai]/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/[...openai]/route.ts b/src/app/[...openai]/route.ts index 2c023f7..2816c9c 100644 --- a/src/app/[...openai]/route.ts +++ b/src/app/[...openai]/route.ts @@ -53,7 +53,7 @@ async function getAIModelClient(provider: string, model: string) { return groqClient(model); } case "ollama": - return ollama("llama3.1"); + return ollama(model); case "google-vertex": throw new Error("Google Vertex AI is not currently supported"); default: