fix(asset-ai): answer vehicle status from authorized vehicle facts
ci/woodpecker/push/woodpecker Pipeline was canceled
ci/woodpecker/push/woodpecker Pipeline was canceled
This commit is contained in:
@@ -217,3 +217,9 @@ test("analysis path collapses display-only steps and preserves the latest node o
|
||||
);
|
||||
assert.equal(path.at(-2)?.label, "库存 · 华东");
|
||||
});
|
||||
|
||||
test("vehicle status navigation identifies a vehicle answer instead of a total", () => {
|
||||
const path = queryPath({ kind: "assets", category: "all", groupBy: "none", view: "list", filters: {}, vehicleIds: ["v1"], responseMode: "vehicle-status" });
|
||||
assert.ok(path.includes("车辆状态"));
|
||||
assert.ok(!path.includes("总量"));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user