From 11e56463b9f1957417d0c71e1bb5da96527fdaf3 Mon Sep 17 00:00:00 2001 From: 666ghj <670939375@qq.com> Date: Thu, 11 Dec 2025 18:11:46 +0800 Subject: [PATCH] Refactor Step2EnvSetup.vue for enhanced profile details and layout - Updated profile description to provide clearer context on entity initialization and behavior configuration. - Removed the expand button for profile details, simplifying the interface. - Adjusted the display logic to show all profiles directly, improving accessibility. - Enhanced modal layout with additional fields for real name, username, and profession, enriching user engagement. - Improved styling for better readability and visual consistency across profile sections. --- frontend/src/components/Step2EnvSetup.vue | 319 +++++++++++++++++----- 1 file changed, 255 insertions(+), 64 deletions(-) diff --git a/frontend/src/components/Step2EnvSetup.vue b/frontend/src/components/Step2EnvSetup.vue index c2ede93..1a05e5d 100644 --- a/frontend/src/components/Step2EnvSetup.vue +++ b/frontend/src/components/Step2EnvSetup.vue @@ -58,7 +58,7 @@

POST /api/simulation/prepare

- 从知识图谱读取实体,使用 LLM 为每个实体生成详细的 Agent 人设与行为配置 + 结合上下文,自动调用工具从知识图谱梳理实体与关系,初始化模拟个体,并基于现实种子赋予他们独特的行为与记忆

@@ -81,13 +81,10 @@
已生成的 Agent 人设 -
-
+
{{ profile.bio || '暂无简介' }}

{{ topic }} - - +{{ profile.interested_topics.length - 4 }} + + +{{ profile.interested_topics.length - 3 }}
@@ -200,30 +197,81 @@
+