thay doi ui chebichat

This commit is contained in:
quangdn-ght
2025-06-25 14:57:12 +07:00
parent e3fc9eef8f
commit cdeb27891b
29 changed files with 621 additions and 1129 deletions

View File

@@ -32,6 +32,8 @@ export async function requestOpenai(req: NextRequest) {
let baseUrl =
(isAzure ? serverConfig.azureUrl : serverConfig.baseUrl) || OPENAI_BASE_URL;
// console.log("[Base Url]", baseUrl);
if (!baseUrl.startsWith("http")) {
baseUrl = `https://${baseUrl}`;
}