mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-22 19:06:12 +00:00
removed logs and openAI fix
This commit is contained in:
parent
d37c3736d5
commit
b892d708ec
@ -1 +1 @@
|
|||||||
{ "commit": "6975083fb9565b94b7e73064097f35c3f11527dc" }
|
{ "commit": "d37c3736d5e73b0305f19d1bbc7c47a6dfbf7656" }
|
||||||
|
@ -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 [];
|
||||||
|
@ -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: {
|
||||||
|
Loading…
Reference in New Issue
Block a user