mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 20:37:48 +00:00

* perf: simple app save * fix: notify config i18n * perf: service side props render * perf: model selector * update doc
7 lines
231 B
TypeScript
7 lines
231 B
TypeScript
import path from 'path';
|
|
import { isProduction } from '@fastgpt/global/common/system/constants';
|
|
|
|
export const tmpFileDirPath = isProduction ? '/app/tmp' : path.join(process.cwd(), 'tmp');
|
|
|
|
export const previewMaxCharCount = 3000;
|