feat: enhance agent system with hot/quick questions, dynamic chat UI, and new enterprise agents
- Add hotQuestions and quickQuestions fields to agent model - Update admin form with textarea inputs for hot/quick questions - Make chat page display dynamic agent data (name, icon, questions) - Widen center chat area to 60% for better readability - Add enterprise service category and 3 new agents (jiaotou, promotion, group-policy) - Update Prisma schema formatting and seed data
This commit is contained in:
@@ -49,6 +49,8 @@ export default async function EditAgentPage({
|
||||
icon: agent.icon || "",
|
||||
categoryId: agent.categoryId || undefined,
|
||||
features: agent.features,
|
||||
hotQuestions: agent.hotQuestions,
|
||||
quickQuestions: agent.quickQuestions,
|
||||
status: agent.status,
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user