* perf: log

* README

* docs
This commit is contained in:
Archer
2023-08-10 14:26:10 +08:00
committed by GitHub
parent 4dc0fd3c3f
commit a0c397cfd2
9 changed files with 209 additions and 34 deletions

View File

@@ -58,7 +58,7 @@ function App({ Component, pageProps }: AppProps) {
return (
<>
<Head>
<title>{feConfigs?.systemTitle || 'FastAI'}</title>
<title>{feConfigs?.systemTitle || 'FastGPT'}</title>
<meta name="description" content="Embedding + LLM, Build AI knowledge base" />
<meta
name="viewport"

View File

@@ -332,7 +332,7 @@ export async function dispatchModules({
}
async function moduleRun(module: RunningModuleItemType): Promise<any> {
if (res.closed) return Promise.resolve();
console.log('run=========', module.flowType);
// console.log('run=========', module.flowType);
if (stream && detail && module.showStatus) {
responseStatus({

View File

@@ -80,7 +80,7 @@ export async function generateVector(): Promise<any> {
// delete data from training
await TrainingData.findByIdAndDelete(data._id);
console.log(`生成向量成功: ${data._id}`);
// console.log(`生成向量成功: ${data._id}`);
reduceQueue();
generateVector();

View File

@@ -24,7 +24,7 @@ const defaultChatData: InitChatResponse = {
chatId: '',
appId: '',
app: {
name: 'FastAI',
name: 'FastGPT',
avatar: '/icon/logo.png',
intro: '',
canUse: false