From b892d708ec5ec5396b810bad48cf3dedb2b05769 Mon Sep 17 00:00:00 2001 From: Anirban Kar Date: Wed, 18 Dec 2024 21:55:17 +0530 Subject: [PATCH] removed logs and openAI fix --- app/commit.json | 2 +- app/utils/constants.ts | 2 -- vite.config.ts | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/commit.json b/app/commit.json index cd2195b4..432fff85 100644 --- a/app/commit.json +++ b/app/commit.json @@ -1 +1 @@ -{ "commit": "6975083fb9565b94b7e73064097f35c3f11527dc" } +{ "commit": "d37c3736d5e73b0305f19d1bbc7c47a6dfbf7656" } diff --git a/app/utils/constants.ts b/app/utils/constants.ts index c4eb0ae0..b80b3c8f 100644 --- a/app/utils/constants.ts +++ b/app/utils/constants.ts @@ -408,7 +408,6 @@ export async function getModelList(options: { }) { const { apiKeys, providerSettings, serverEnv } = options; - // console.log({ providerSettings, serverEnv,env:process.env }); MODEL_LIST = [ ...( await Promise.all( @@ -438,7 +437,6 @@ async function getTogetherModels( defaultBaseUrlKey: 'TOGETHER_API_BASE_URL', defaultApiTokenKey: 'TOGETHER_API_KEY', }); - console.log({ baseUrl, apiKey }); if (!baseUrl) { return []; diff --git a/vite.config.ts b/vite.config.ts index f292c7bd..b2f795dd 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -28,7 +28,7 @@ export default defineConfig((config) => { chrome129IssuePlugin(), config.mode === 'production' && optimizeCssModules({ apply: 'build' }), ], - envPrefix: ["VITE_", "OLLAMA_API_BASE_URL", "LMSTUDIO_API_BASE_URL","TOGETHER_API_BASE_URL"], + envPrefix: ["VITE_","OPENAI_LIKE_API_BASE_URL", "OLLAMA_API_BASE_URL", "LMSTUDIO_API_BASE_URL","TOGETHER_API_BASE_URL"], css: { preprocessorOptions: { scss: {