mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 11:07:06 +00:00
(improvement)(Chat) When selecting the dataset list in agent page, the model set list can not return (#1085)
Co-authored-by: jolunoluo
This commit is contained in:
@@ -415,13 +415,6 @@ public class SchemaServiceImpl implements SchemaService {
|
||||
.collect(Collectors.toList());
|
||||
Map<Long, ItemResp> itemRespMap = itemResps.stream()
|
||||
.collect(Collectors.toMap(ItemResp::getId, item -> item));
|
||||
for (ItemResp itemResp : itemResps) {
|
||||
ItemResp parentItem = itemRespMap.get(itemResp.getParentId());
|
||||
if (parentItem == null) {
|
||||
continue;
|
||||
}
|
||||
parentItem.getChildren().add(itemResp);
|
||||
}
|
||||
List<DataSetResp> dataSetResps = dataSetService.getDataSetList(new MetaFilter());
|
||||
for (DataSetResp dataSetResp : dataSetResps) {
|
||||
ItemResp itemResp = itemRespMap.get(dataSetResp.getDomainId());
|
||||
|
||||
Reference in New Issue
Block a user