BUG FIX:stylist_agent server, _execute_batch_recommendation(accessories)

This commit is contained in:
pangkaicheng
2025-12-15 17:36:52 +08:00
parent b17cfb53d8
commit 46b96995f0

View File

@@ -440,7 +440,7 @@ class AsyncStylistAgent:
MAX_LEN_ACC = 3 MAX_LEN_ACC = 3
acc_system_prompt = self._build_system_prompt(accessories_template, request_summary, accessories_guide, 'accessories', MAX_LEN_ACC) acc_system_prompt = self._build_system_prompt(accessories_template, request_summary, accessories_guide, 'accessories', MAX_LEN_ACC)
reason = await self._execute_batch_recommendation( reason = await self._execute_batch_recommendation(
current_category, # can be 'accessories' or 'all' 'accessories', # can be 'accessories' or 'all'
acc_system_prompt, acc_system_prompt,
build_batch_schema(current_category), build_batch_schema(current_category),
occasions, occasions,