fix: expand rule engine keywords to catch brand/strategy/investment queries
All checks were successful
CD Pipeline / deploy (push) Successful in 1m53s

'品牌','廠商','加碼','投資','策略','建議','市場','機會','成長',
'預測','比較','推薦','最佳' now trigger complex routing → Gemini

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
ogt
2026-04-26 20:23:12 +08:00
parent 388260666e
commit c8ceec1f5f

View File

@@ -192,6 +192,8 @@ class HermesAnalystService:
"業績", "銷量", "銷售", "營收", "排名", "威脅", "競品", "報表",
"週報", "月報", "日報", "2024", "2025", "2026",
"ppt", "report", "compare", "vs", "分析", "趨勢",
"品牌", "廠商", "商品", "加碼", "投資", "策略", "建議",
"市場", "機會", "成長", "預測", "比較", "推薦", "最佳",
)
if any(g in msg for g in greetings):
return {