Files
lobehub/packages/database/migrations/0068_update_group_data.sql
Arvin Xu a8c6b2cb92 ♻️ refactor(agentGroup): simplify LobeChatGroupChatConfig schema (#11431)
* ♻️ refactor(agentGroup): simplify LobeChatGroupChatConfig schema

- Remove unused config properties: enableSupervisor, orchestratorModel, orchestratorProvider, scene, maxResponseInRow, responseOrder, responseSpeed
- Keep only essential properties: allowDM, revealDM, openingMessage, openingQuestions, systemPrompt
- Delete GroupChatSettings feature component (no longer needed)
- Delete AgentTeamSettings mobile component
- Update InsertChatGroupSchema to use manual Zod schema instead of createInsertSchema
- Remove hostConfig and enableSupervisor parameters from GroupWizard and MemberSelectionModal interfaces
- Simplify callback signatures across the codebase
- Update all related tests to use new config structure

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* update default provider

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-12 15:46:11 +08:00

5 lines
353 B
SQL

ALTER TABLE "chat_groups" ADD COLUMN IF NOT EXISTS "avatar" text;--> statement-breakpoint
ALTER TABLE "chat_groups" ADD COLUMN IF NOT EXISTS "background_color" text;--> statement-breakpoint
ALTER TABLE "chat_groups" ADD COLUMN IF NOT EXISTS "content" text;--> statement-breakpoint
ALTER TABLE "chat_groups" ADD COLUMN IF NOT EXISTS "editor_data" jsonb;