fix(rectification): continue after structured choices
This commit is contained in:
@@ -89,4 +89,4 @@ export function evidenceWritesAllowed(
|
||||
export const MAX_RESUMABLE_CASES_PER_USER = 1;
|
||||
|
||||
export const RECTIFICATION_SKILL_NAME = "jyotish-birth-time-rectification";
|
||||
export const RECTIFICATION_SKILL_VERSION = "10.0.11";
|
||||
export const RECTIFICATION_SKILL_VERSION = "10.0.12";
|
||||
|
||||
@@ -85,12 +85,20 @@ export function composeChoiceNarration(input: {
|
||||
return "已按你的选择先看到当前范围。独立核对尚未完成,这不是最终校正结果。";
|
||||
}
|
||||
if (!input.scoring) {
|
||||
return "已记录你的选择。这是盘外核对,不会改候选分数。正在准备下一步。";
|
||||
return "已记录你的选择。这是盘外核对,不会改候选分数。";
|
||||
}
|
||||
if (input.appliedInference) {
|
||||
return "已记录你的选择,并更新了候选比较。正在准备下一步。";
|
||||
return "已记录你的选择,并更新了候选比较。";
|
||||
}
|
||||
return "已记录你的选择。正在准备下一步。";
|
||||
return "已记录你的选择。";
|
||||
}
|
||||
|
||||
export function shouldContinueAfterStructuredChoice(nextAction: unknown): boolean {
|
||||
if (!nextAction || typeof nextAction !== "object") return false;
|
||||
const type = (nextAction as { type?: unknown }).type;
|
||||
return type === "ask_fact_collection"
|
||||
|| type === "ask_candidate_discriminator"
|
||||
|| type === "ask_holdout_validation";
|
||||
}
|
||||
|
||||
export function stableChoiceActionKey(focusId: string, optionId: ChoiceOptionId): string {
|
||||
|
||||
Reference in New Issue
Block a user