removed logs and openAI fix

This commit is contained in:
Anirban Kar 2024-12-18 21:55:17 +05:30
parent d37c3736d5
commit b892d708ec
3 changed files with 2 additions and 4 deletions

View File

@ -1 +1 @@
{ "commit": "6975083fb9565b94b7e73064097f35c3f11527dc" } { "commit": "d37c3736d5e73b0305f19d1bbc7c47a6dfbf7656" }

View File

@ -408,7 +408,6 @@ export async function getModelList(options: {
}) { }) {
const { apiKeys, providerSettings, serverEnv } = options; const { apiKeys, providerSettings, serverEnv } = options;
// console.log({ providerSettings, serverEnv,env:process.env });
MODEL_LIST = [ MODEL_LIST = [
...( ...(
await Promise.all( await Promise.all(
@ -438,7 +437,6 @@ async function getTogetherModels(
defaultBaseUrlKey: 'TOGETHER_API_BASE_URL', defaultBaseUrlKey: 'TOGETHER_API_BASE_URL',
defaultApiTokenKey: 'TOGETHER_API_KEY', defaultApiTokenKey: 'TOGETHER_API_KEY',
}); });
console.log({ baseUrl, apiKey });
if (!baseUrl) { if (!baseUrl) {
return []; return [];

View File

@ -28,7 +28,7 @@ export default defineConfig((config) => {
chrome129IssuePlugin(), chrome129IssuePlugin(),
config.mode === 'production' && optimizeCssModules({ apply: 'build' }), 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: { css: {
preprocessorOptions: { preprocessorOptions: {
scss: { scss: {