Add base URL + fix thinking

This commit is contained in:
ElshadHu
2026-01-14 04:00:05 -05:00
parent 04290a53d0
commit 4691a71190
2 changed files with 21 additions and 14 deletions

View File

@@ -176,6 +176,7 @@ export async function POST(req: Request) {
case "vertexai": {
const vertex = createVertex({
apiKey: vertexApiKey,
...(baseUrl && { baseURL: baseUrl }),
})
model = vertex(modelId)
break