mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 20:37:48 +00:00
fix source name (#3834)
This commit is contained in:
@@ -54,6 +54,9 @@ const ChatSchema = new Schema({
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
sourceName: {
|
||||
type: String
|
||||
},
|
||||
shareId: {
|
||||
type: String
|
||||
},
|
||||
|
@@ -23,6 +23,7 @@ type Props = {
|
||||
isUpdateUseTime: boolean;
|
||||
newTitle: string;
|
||||
source: string;
|
||||
sourceName: string;
|
||||
shareId?: string;
|
||||
outLinkUid?: string;
|
||||
content: [UserChatItemType & { dataId?: string }, AIChatItemType & { dataId?: string }];
|
||||
@@ -40,6 +41,7 @@ export async function saveChat({
|
||||
isUpdateUseTime,
|
||||
newTitle,
|
||||
source,
|
||||
sourceName,
|
||||
shareId,
|
||||
outLinkUid,
|
||||
content,
|
||||
@@ -96,6 +98,7 @@ export async function saveChat({
|
||||
pluginInputs,
|
||||
title: newTitle,
|
||||
source,
|
||||
sourceName,
|
||||
shareId,
|
||||
outLinkUid,
|
||||
metadata: metadataUpdate,
|
||||
|
Reference in New Issue
Block a user