feat: update env configs and add team canvas endpoint

This commit is contained in:
2025-11-10 11:09:22 +08:00
parent b2053760be
commit 81fa34669a
19 changed files with 220 additions and 55 deletions

View File

@@ -46,11 +46,11 @@ export const useAgentList = (initialParams?: IAgentPaginationParams) => {
try {
const envMode = import.meta.env.MODE;
let response: any = null;
if (envMode === 'flask') {
// if (envMode === 'flask') {
response = await agentService.teamlistCanvas(params);
} else {
response = await agentService.listCanvas(params);
}
// } else {
// response = await agentService.listCanvas(params);
// }
const res = response.data || {};
logger.info('useAgentList fetchAgentList', res);
const data = res.data