feat: 新增智能体标签、上下文源功能

This commit is contained in:
zhuoqinglian
2026-03-04 16:33:22 +08:00
parent ba07c623df
commit ac887139ce
13 changed files with 770 additions and 18 deletions
@@ -107,6 +107,9 @@ const alovaInstance = createAlova({
throw new Error(`请求错误[${code}]${msg}`)
}
if (config.meta?.isExposeError) {
return Promise.reject(msg)
}
if (config.meta?.toast !== false) {
toast.warning(msg)
}