feat: 人设模板系统、节点调度标签、pydantic-settings收敛、错误处理增强

新增persona_template表和CRUD API,BaseIndividualModel增加node_affinity和template_origin_id字段,
WorkerCluster支持多集群Ray资源调度,环境变量收敛到pydantic-settings统一校验,
数据库异常转换为结构化BusinessError/RetryableError,系统节点支持custom_system_prompt。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-06-04 06:07:46 +00:00
parent f3a92a793e
commit 8f1398c591
23 changed files with 582 additions and 48 deletions
+1
View File
@@ -21,6 +21,7 @@ dependencies = [
"pretor-viceroy>=0.2.0",
"pwdlib[argon2,bcrypt]>=0.3.0",
"pydantic-ai>=1.73.0",
"pydantic-settings>=2.0",
"pyfiglet>=1.0.4",
"pyjwt>=2.12.1",
"python-ulid>=3.1.0",