8f1398c591
新增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>
56 lines
1.1 KiB
TOML
56 lines
1.1 KiB
TOML
[build-system]
|
||
requires = ["hatchling"]
|
||
build-backend = "hatchling.build"
|
||
|
||
[tool.hatch.build.targets.wheel]
|
||
packages = ["kilostar"]
|
||
|
||
[project]
|
||
name = "kilostar"
|
||
version = "0.1.0"
|
||
description = "A multi-agent system"
|
||
readme = "README.md"
|
||
requires-python = ">=3.12,<4.0"
|
||
dependencies = [
|
||
"alembic>=1.13.0",
|
||
"asyncpg>=0.31.0",
|
||
"cryptography>=42.0.0",
|
||
"httpx>=0.28.1",
|
||
"jinja2>=3.1.6",
|
||
"loguru>=0.7.3",
|
||
"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",
|
||
"ray[default,serve]>=2.54.0",
|
||
"rich>=14.3.3",
|
||
"sqlalchemy>=2.0.49",
|
||
"tavily-python>=0.7.0",
|
||
]
|
||
|
||
[project.optional-dependencies]
|
||
gpu = [
|
||
"vllm>=0.11.0",
|
||
]
|
||
|
||
[dependency-groups]
|
||
dev = [
|
||
"pytest>=9.0.3",
|
||
"pytest-asyncio>=1.3.0",
|
||
]
|
||
|
||
[tool.pytest.ini_options]
|
||
asyncio_mode = "auto"
|
||
testpaths = ["tests"]
|
||
pythonpath = ["."]
|
||
addopts = "-ra -q --strict-markers"
|
||
markers = [
|
||
"integration: 端到端 / 组装层 smoke 测试(不依赖真 ray / postgres)",
|
||
]
|
||
filterwarnings = [
|
||
"ignore::DeprecationWarning",
|
||
]
|