Refactor code structure for improved readability and maintainability

This commit is contained in:
mi222eh
2026-07-06 21:37:20 +02:00
parent 6ca6a5687a
commit 5f35f56edc
48 changed files with 8128 additions and 0 deletions
+39
View File
@@ -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",
]