mirror of
https://github.com/labring/FastGPT.git
synced 2026-04-16 02:00:55 +08:00
v4.6 -1 (#459)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { UserModelSchema } from '@fastgpt/global/support/user/type';
|
||||
import OpenAI from 'openai';
|
||||
import OpenAI from '@fastgpt/global/core/ai';
|
||||
|
||||
export const openaiBaseUrl = process.env.OPENAI_BASE_URL || 'https://api.openai.com/v1';
|
||||
export const baseUrl = process.env.ONEAPI_URL || openaiBaseUrl;
|
||||
|
||||
Reference in New Issue
Block a user