ForcePilot/pyproject.toml
Wenjie Zhang 08ac557028 feat(agent): implement text-to-img tool with MinIO storage
Adds a new agent tool `text_to_img` that generates a placeholder image
from text and uploads it to a MinIO server, returning a public URL.

Key changes:
- Adds `minio` and `Pillow` to project dependencies.
- Creates a reusable MinIO utility module in `src/utils/minio_utils.py`
  to handle file uploads and bucket management.
- Refactors the agent tool to use this new utility, separating concerns
  and simplifying the tool's implementation.
- Replaces the previous hardcoded URL with a real, functional image
  upload process.
2025-09-02 14:00:06 +08:00

72 lines
1.7 KiB
TOML

[project]
name = "yuxi-know"
version = "0.2.0.dev"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"arxiv>=2.2.0",
"asyncpg>=0.30.0",
"chromadb>=1.0.15",
"colorlog>=6.9.0",
"dashscope>=1.23.2",
"docx2txt>=0.9",
"fastapi>=0.115.12",
"langchain-community>=0.3.22",
"langchain-deepseek>=0.1.3",
"langchain-huggingface>=0.2.0",
"langchain-mcp-adapters>=0.1.9",
"langchain-openai>=0.3.14",
"langchain-tavily>=0.2.3",
"langchain-text-splitters>=0.3.9",
"langchain-together>=0.3.0",
"langgraph>=0.3.34",
"langgraph-checkpoint-sqlite>=2.0.7",
"langgraph-cli[inmem]>=0.1.54",
"langsmith>=0.3.37",
"lightrag-hku>=1.3.9",
"llama-index>=0.12.33",
"llama-index-readers-file>=0.4.7",
"markdownify>=1.1.0",
"mcp>=1.12.0",
"neo4j>=5.28.1",
"networkx>=3.5",
"openai>=1.76.0",
"opencv-python-headless>=4.11.0.86",
"paddleocr>=2.10.0",
"pyjwt>=2.8.0",
"pymilvus>=2.5.8",
"pymupdf>=1.25.5",
"python-docx>=1.2.0",
"python-dotenv>=1.1.0",
"python-jose[cryptography]>=3.4.0",
"python-multipart>=0.0.20",
"pyyaml>=6.0.2",
"rapidocr-onnxruntime>=1.4.4",
"tavily-python>=0.7.0",
"unstructured>=0.17.2",
"uvicorn[standard]>=0.34.2",
"httpx>=0.27.0",
"tqdm>=4.66.4",
"rich>=13.7.1",
"typer>=0.16.0",
"mineru[core]>=2.1.6",
"tabulate>=0.9.0",
"minio>=7.2.7",
"Pillow>=10.5.0",
]
[tool.ruff]
line-length = 120 # 代码最大行宽
lint.select = [ # 选择的规则
"F",
"E",
"W",
"UP",
]
[dependency-groups]
dev = [
"ipykernel>=6.30.0",
"ruff>=0.12.1",
]