fix(ai): 修正挑品清單銷售日期查詢
All checks were successful
CD Pipeline / deploy (push) Successful in 2m14s

This commit is contained in:
OoO
2026-05-01 10:12:32 +08:00
parent 20f6b2ded2
commit 70de91f1f6
4 changed files with 16 additions and 8 deletions

View File

@@ -148,6 +148,8 @@ def test_ai_product_pick_agent_uses_real_competitor_data_and_dashboard_action():
assert "'product_pick'" in agent_source
assert "PChomeProductPickAgent" in agent_source
assert "PChome 價格優勢" in agent_source
assert "snapshot_date::date" in agent_source
assert "conn.rollback()" in agent_source
assert "@ai_bp.route('/api/ai/product-picks/generate', methods=['POST'])" in route_source
assert "generate_product_pick_list(engine" in route_source