[project] name = "qmdsearch" version = "0.1.0" description = "AI Agent 分层信息检索服务" requires-python = ">=3.12" dependencies = [ "fastapi>=0.115.0", "uvicorn[standard]>=0.34.0", "pydantic>=2.10.0", "pydantic-settings>=2.7.0", "qdrant-client>=1.12.0", "redis>=5.2.0", "httpx>=0.28.0", "structlog>=24.4.0", "openai>=1.58.0", ] [project.optional-dependencies] dev = [ "pytest>=8.3.0", "pytest-asyncio>=0.24.0", "ruff>=0.8.0", ] [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["app"] [tool.ruff] target-version = "py312" line-length = 120 [tool.ruff.lint] select = ["E", "F", "I", "N", "UP", "B"] [tool.pytest.ini_options] asyncio_mode = "auto" testpaths = ["tests"]