fix: delete agent 500 error + dynamic personality + deployment guide
- Fix delete agent 500: clean up FK records (agent_llm_logs, permissions, schedules, executions, team_members) and unbind goals/tasks before delete - Remove hardcoded personality templates in Android, replace with dynamic system prompt generation from name + description - Set promptSectionsEnabled=false to bypass PromptComposer for personality - Add Tencent Cloud Linux deployment guide (Docker Compose) - Accumulated backend service updates, frontend UI fixes, Android app changes Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -27,6 +27,19 @@ from app.agent_runtime.orchestrator import (
|
||||
OrchestratorResult,
|
||||
OrchestratorStep,
|
||||
)
|
||||
from app.agent_runtime.swarm import (
|
||||
SwarmRuntime,
|
||||
SwarmConfig,
|
||||
SwarmMode,
|
||||
SwarmLeader,
|
||||
SwarmTeammate,
|
||||
SwarmMailbox,
|
||||
SwarmTask,
|
||||
SwarmResult,
|
||||
TaskStatus,
|
||||
TeammateResult,
|
||||
create_swarm,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"AgentRuntime",
|
||||
@@ -44,4 +57,16 @@ __all__ = [
|
||||
"OrchestratorAgentConfig",
|
||||
"OrchestratorResult",
|
||||
"OrchestratorStep",
|
||||
# Swarm
|
||||
"SwarmRuntime",
|
||||
"SwarmConfig",
|
||||
"SwarmMode",
|
||||
"SwarmLeader",
|
||||
"SwarmTeammate",
|
||||
"SwarmMailbox",
|
||||
"SwarmTask",
|
||||
"SwarmResult",
|
||||
"TaskStatus",
|
||||
"TeammateResult",
|
||||
"create_swarm",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user