Scope knowledge and image libraries by brand
Frontend CI / Frontend (push) Successful in 2m59s
Backend CI / Backend (push) Successful in 14m58s

This commit is contained in:
2026-06-30 12:30:10 +08:00
parent 95ddb3057f
commit ced0c4ec0f
35 changed files with 1136 additions and 326 deletions
@@ -376,6 +376,7 @@ func (s *PromptRuleGenerationService) ProcessQueuedTask(ctx context.Context, tas
knowledgeContext, err := s.knowledge.ResolveContext(
ctx,
task.TenantID,
int64(extractInt(inputParams, "brand_id")),
knowledgeGroupIDs,
buildPromptRuleKnowledgeQuery(rule, inputParams),
)