Prechádzať zdrojové kódy

Merge branch 'yhg_240730'

jimmyyem 3 mesiacov pred
rodič
commit
3941674ec2

+ 1 - 1
internal/logic/agent/create_agent_logic.go

@@ -65,7 +65,7 @@ func (l *CreateAgentLogic) CreateAgent(req *types.AgentInfo) (*types.BaseMsgResp
 	var collectionReq fastgpt.CreateCollectionReq
 	collectionReq.DatasetId = datasetResp.Data
 	collectionReq.Name = "手动录入"
-	collectionReq.Type = "folder"
+	collectionReq.Type = "virtual" // 暂时改动
 	collectionResp, err := fastgpt.CreateEmptyCollection(&collectionReq)
 	if err != nil {
 		return nil, errors.New("create dataset failed")