Files
coding-agent-gitea/pyproject.toml
T
michael c0c9278d75 feat: add web_search and fetch_url research tools (#2)
- Add ResearchTools class in gitea/tools/research_tools.py
  - web_search: DuckDuckGo HTML search, no API key required
  - fetch_url: httpx-based URL fetcher with HTML stripping + truncation
- Wire both tools into planning_tools and coding_tools_list in dispatcher.py
- Add 19 unit tests covering all methods, error paths, and edge cases

---------

Co-authored-by: Michael <michael@example.com>
Reviewed-on: #2
2026-06-28 19:01:55 +02:00

40 lines
773 B
TOML

[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",
]