diff --git a/utils/app/const.ts b/utils/app/const.ts index c008e04..e7966c3 100644 --- a/utils/app/const.ts +++ b/utils/app/const.ts @@ -3,7 +3,7 @@ export const DEFAULT_SYSTEM_PROMPT = "You are ChatGPT, a large language model trained by OpenAI. Follow the user's instructions carefully. Respond using markdown."; export const OPENAI_API_HOST = - process.env.OPENAI_API_HOST || 'https://openrouter.ai'; + process.env.OPENAI_API_HOST || 'https://openrouter.ai/api'; export const DEFAULT_TEMPERATURE = parseFloat(process.env.NEXT_PUBLIC_DEFAULT_TEMPERATURE || "0.7");