mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00

* feat: model config required check * feat: dataset text model default setting * perf: collection list count * fix: ts * remove index count
5 lines
223 B
TypeScript
5 lines
223 B
TypeScript
export const FastGPTProUrl = process.env.PRO_URL ? `${process.env.PRO_URL}/api` : '';
|
|
export const isFastGPTMainService = !!process.env.PRO_URL;
|
|
// @ts-ignore
|
|
export const isFastGPTProService = () => !!global.systemConfig;
|