聊天助手列表循环条件修改
This commit is contained in:
@@ -43,8 +43,7 @@ public class RagFlowApiController {
|
||||
res.add(new HashMap<>());res.add(new HashMap<>());
|
||||
res.add(new HashMap<>());res.add(new HashMap<>());
|
||||
res.add(new HashMap<>());res.add(new HashMap<>());
|
||||
for (int i=0; i<6; i++) {
|
||||
Map<String,Object> map = list.get(i);
|
||||
for (Map<String,Object> map:list) {
|
||||
if (map.get("name").toString().contains("消化")){
|
||||
res.set(0,map);
|
||||
}else if (map.get("name").toString().contains("呼吸")){
|
||||
|
||||
Reference in New Issue
Block a user