From a7b101253bf0792fc9bfd343db6dd51d371c0070 Mon Sep 17 00:00:00 2001 From: pangkaicheng <924366729@qq.com> Date: Wed, 14 Jan 2026 11:42:32 +0800 Subject: [PATCH] UPDATE; fullfill LC request for lacking layering of Evening/workwear occasions --- app/server/ChatbotAgent/agent_server.py | 2 +- app/server/ChatbotAgent/core/stylist_agent_server.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/server/ChatbotAgent/agent_server.py b/app/server/ChatbotAgent/agent_server.py index d236419..b59fae2 100644 --- a/app/server/ChatbotAgent/agent_server.py +++ b/app/server/ChatbotAgent/agent_server.py @@ -362,7 +362,7 @@ if __name__ == "__main__": request_data = json.load(f) tasks_with_metadata = [] - for test_content in request_data[9:10]: + for test_content in request_data[6:7]: occasions = test_content['occasions'] request_summary = test_content['request_summary'] for stylist_name in ["crystal", "mini", "vera", "edi"]: diff --git a/app/server/ChatbotAgent/core/stylist_agent_server.py b/app/server/ChatbotAgent/core/stylist_agent_server.py index f9ec56f..7abb276 100644 --- a/app/server/ChatbotAgent/core/stylist_agent_server.py +++ b/app/server/ChatbotAgent/core/stylist_agent_server.py @@ -251,6 +251,10 @@ class AsyncStylistAgent: # Insert the style_guide content into the template if occasion == "Bridal / Wedding": request_summary += "IMPORTANT: Strictly only recommend colorful or white items (clothing, shoes, and bags)." + elif occasion == "Evening": + request_summary += " **EVENING STYLE MANDATE:** Prioritize high textural contrast. Avoid flat/matte monochrome or total black looks. Ensure visual depth through layering (e.g., varying lengths or sheer panels). Use statement accessories to break simple silhouettes." + elif occasion == "Business / workwear": + request_summary += " **WORKWEAR STYLE MANDATE:** Focus on 'Power Dressing' silhouettes—prioritize sharp, oversized blazers paired with floor-length wide-leg trousers. Use tonal dressing (different shades of the same color) to create a sophisticated, elongated look. Balance masculine tailoring with polished, feminine textures. Select structured, architectural bags and pointed-toe or sleek loafers to maintain professional sharpness." sys_template = template.format( gender=self.gender, current_category=current_category.upper(),