mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-10-26 13:16:24 +00:00
* feat(plugins): add sectioned long-form report writing example A standalone example extension whose save_section model tool stores a 万字-scale report section by section (SQLite, per-user and per-thread) and assembles every section into one markdown document on a final section_index=999 call. The assembled document is returned as a tool artifact with only a short status line re-entering the model context, so the full report never consumes the context budget. Assembly drops a section's leading heading when it restates the section title (models habitually open each section with '# <title>' while the assembler already emits '## <title>'), which otherwise doubles every heading in the document. The outline section passes through unwrapped and keeps its own heading as the document title. * fix(frontend): register report sections in extension catalog * docs(report-sections): correct the test command path --------- Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
18 lines
534 B
TOML
18 lines
534 B
TOML
[project]
|
|
name = "deerflow-extension-report-sections"
|
|
version = "0.1.0"
|
|
description = "Sectioned long-form report writing with assembled artifact delivery for DeerFlow"
|
|
requires-python = ">=3.12"
|
|
license = "MIT"
|
|
dependencies = ["deerflow-extension-api>=0.2.8,<0.3"]
|
|
|
|
[project.entry-points."deerflow.extensions"]
|
|
report-sections = "deerflow_extension_report_sections:install"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["deerflow_extension_report_sections"]
|