sync: 鍚屾灞€鍩熺綉鏈€鏂颁唬鐮?(source master @ b69568e4)

This commit is contained in:
gozeros committed 2026-10-21 14:51:31 +08:00
1 parent 4f7f07504a
commit 8bc8b0e082
1651 files changed
+278599 -11416

No files matched your search

+3 -1
View File
@@ -58,6 +58,7 @@ const BUSINESS_TASK_BASE: Record<string, string> = {
export interface ParsedGoPath {
businessCode: string;
goPath: "3qfx" | "rwfx" | "xdfx";
/** true = 多智能体会商(``-A`` 后缀);false = 单智能体问答。 */
roundtable: boolean;
}
@@ -70,7 +71,7 @@ export function parseGoPath(goPath: string): ParsedGoPath | null {
const base = roundtable ? raw.slice(0, -2) : raw;
const businessCode = GOPATH_BUSINESS_CODE[base];
if (!businessCode) return null;
return { businessCode, roundtable };
return { businessCode, goPath: base as ParsedGoPath["goPath"], roundtable };
}
function consumerBaseUrl(): string {
@@ -381,6 +382,7 @@ export async function resolveTaskDeeplinkTarget(
openingText: buildOpeningText(detail, taskId, actionInfo),
actionId,
partitionByAction: isXdfx,
goPath: parsed.goPath,
});
return { path: `${taskBase}/agent/${agentId}/chats` };
}