import request from '@/utils/request'

export function analyzeAgent(data) {
  return request({
    url: '/warehouse/agent/analyze',
    method: 'post',
    data,
    headers: {
      repeatSubmit: false
    },
    timeout: 45000
  })
}

export function executeAgent(data) {
  return request({
    url: '/warehouse/agent/execute',
    method: 'post',
    data
  })
}
