fix(knowledge): entrystatus enum 大小寫修正 'archived' → 'ARCHIVED'
All checks were successful
CD Pipeline / build-and-deploy (push) Successful in 12m47s
All checks were successful
CD Pipeline / build-and-deploy (push) Successful in 12m47s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -253,7 +253,7 @@ class KnowledgeService:
|
||||
"WHERE entry_type = 'anti_pattern' "
|
||||
"AND symptoms_hash = :hash "
|
||||
"AND created_at >= :cutoff "
|
||||
"AND status != 'archived' "
|
||||
"AND status != 'ARCHIVED' "
|
||||
"ORDER BY created_at DESC LIMIT 5"
|
||||
),
|
||||
{"hash": symptoms_hash, "cutoff": cutoff},
|
||||
|
||||
Reference in New Issue
Block a user