feat: update env configs and add team canvas endpoint
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user