Fix that agent cannot be the same name (#16192)

Fix that agent cannot be the same name
This commit is contained in:
Wang Qi
2026-06-18 19:10:21 +08:00
committed by GitHub
parent eb5fcce1ca
commit 5ca1686ac7
2 changed files with 10 additions and 9 deletions

View File

@@ -242,8 +242,6 @@ export const useUpdateAgentSetting = () => {
queryClient.invalidateQueries({
queryKey: [AgentApiAction.FetchAgentListByPage],
});
} else {
message.error(ret?.data?.data);
}
return ret?.data?.code;
},