Skip to content

Commit 63dcfe7

Browse files
authored
ENG-1464 Remove default value assignment for preferredRegion in LLM chat routes (#810)
1 parent e5c9419 commit 63dcfe7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/website/app/api/llm/anthropic/chat/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { NextRequest } from "next/server";
22
import { handleLLMRequest, handleOptionsRequest } from "~/utils/llm/handler";
33
import { anthropicConfig } from "~/utils/llm/providers";
44

5-
export const preferredRegion = "auto";
5+
// export const preferredRegion = "auto";
66
export const maxDuration = 300;
77
export const runtime = "nodejs";
88

apps/website/app/api/llm/gemini/chat/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { NextRequest } from "next/server";
22
import { handleLLMRequest, handleOptionsRequest } from "~/utils/llm/handler";
33
import { geminiConfig } from "~/utils/llm/providers";
44

5-
export const preferredRegion = "auto";
5+
// export const preferredRegion = "auto";
66
export const maxDuration = 300;
77
export const runtime = "nodejs";
88

apps/website/app/api/llm/openai/chat/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { handleLLMRequest, handleOptionsRequest } from "~/utils/llm/handler";
33
import { openaiConfig } from "~/utils/llm/providers";
44

55
export const runtime = "nodejs";
6-
export const preferredRegion = "auto";
6+
// export const preferredRegion = "auto";
77
export const maxDuration = 300;
88

99
export const POST = (request: NextRequest): Promise<Response> => {

0 commit comments

Comments
 (0)