feat(agent): 增强 Agent 配置,新增结构化字段与聊天功能支持

This commit is contained in:
hugo committed 2026-07-07 11:10:32 +08:00
1 parent ac4262cd75
commit c8ce77199e
183 files changed
+11690 -2300

No files matched your search

@@ -33,6 +33,7 @@ type ShippingApiStatusPayload = {
export type ShippingChatAgentOption = {
id: number;
name: string;
agent_code?: string;
};
function jsonPost(body?: unknown): RequestInit {
@@ -447,8 +448,8 @@ export async function generateWorkspaceShippingExcel(taskNo: string) {
return assertShippingOk(body);
}
/** 货代发货 Agent 显示名称,用于聊天路由与 Agent 匹配。 */
export const SHIPPING_NOTICE_AGENT_NAME = '货代发货通知 Agent';
/** 发货通知 Agent 应用类型标识(运行时识别)。 */
export const SHIPPING_NOTICE_AGENT_CODE = 'shipping_notice';
export type {
ShippingBatchSummary,