diff --git a/www/app.js b/www/app.js index 15da2bb..8b8d55a 100644 --- a/www/app.js +++ b/www/app.js @@ -792,7 +792,7 @@ function renderAgentsPage() { ${conv.title}
- ${conv.agent ? conv.agent.name : '未知智能体'} + ${conv.agent ? getCategoryLabel(conv.agent.category) : '未知'} ${formatTime(conv.updatedAt)}
@@ -3006,7 +3006,7 @@ function showAgentHistoryPage() { ${conv.title}
- ${conv.agent ? conv.agent.name : '未知智能体'} + ${conv.agent ? getCategoryLabel(conv.agent.category) : '未知'} ${formatTime(conv.updatedAt)}
@@ -3087,7 +3087,7 @@ async function openAgent(agentId) { // 创建新对话并设置智能体 const newConv = { id: backendId || Date.now().toString(), - title: currentAgent.name, + title: '新对话', // 和普通对话一样,初始标题为"新对话",后续自动生成 messages: [], agentId: agentId, createdAt: Date.now(), diff --git a/www/style.css b/www/style.css index 26f32a3..ba81b2f 100644 --- a/www/style.css +++ b/www/style.css @@ -1730,7 +1730,7 @@ body { color: var(--primary); } -.recent-agent-agent-name { +.recent-agent-category { font-size: 12px; color: var(--primary); background: rgba(102, 126, 234, 0.1); @@ -1807,7 +1807,7 @@ body { color: var(--primary); } -.agent-history-agent { +.agent-history-category { font-size: 12px; color: var(--primary); background: rgba(102, 126, 234, 0.1);