Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
[project]
|
||||
name = "gitea-agent"
|
||||
version = "0.1.0"
|
||||
description = "An AI agent that automates Gitea tasks."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
"httpx>=0.28.1",
|
||||
"python-dotenv>=1.0.0",
|
||||
"openai>=1.0.0",
|
||||
"pydantic>=2.13.4",
|
||||
"pydantic-settings>=2.0.0",
|
||||
"lmstudio>=1.5.0",
|
||||
# Research tools
|
||||
"duckduckgo-search>=6.0",
|
||||
"trafilatura>=1.12",
|
||||
"readability-lxml>=0.8",
|
||||
"markdownify>=0.13",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
start-agent = "main:start_agent"
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=61.0", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools]
|
||||
py-modules = ["main"]
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["core", "gitea"]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"pytest>=9.1.1",
|
||||
"ty>=0.0.55",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user