mirror of
https://github.com/val1813/kwcode.git
synced 2026-09-11 02:21:21 +08:00
Replaces the old single-file SearchAugmentor with a modular pipeline: - IntentClassifier (keyword-based, no LLM) - QueryGenerator (LLM, intent-aware English queries) - DuckDuckGo HTML scraper (bs4, zero API key) - QualityFilter (domain whitelist/blacklist) - ContentFetcher (trafilatura with httpx timeout control) - ContextCompressor (LLM, hard-capped at 400 chars) V4 validation: 4/4 intent, 4/4 DDG, 3/4 fetch, 4/4 compress. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
30 lines
607 B
TOML
30 lines
607 B
TOML
[build-system]
|
|
requires = ["setuptools>=68.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "kaiwu"
|
|
version = "0.3.0"
|
|
description = "Local-model coding agent with MoE expert pipeline"
|
|
requires-python = ">=3.10"
|
|
|
|
dependencies = [
|
|
"llama-cpp-python>=0.2.90",
|
|
"typer>=0.12.0",
|
|
"rich>=13.0.0",
|
|
"pydantic>=2.0.0",
|
|
"httpx>=0.27.0",
|
|
"gitpython>=3.1.0",
|
|
"psutil>=5.9.0",
|
|
"beautifulsoup4>=4.12.0",
|
|
"lxml>=5.0.0",
|
|
"trafilatura>=1.12.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
kaiwu = "kaiwu.cli.main:app"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["kaiwu*"]
|