AGENTS.md@backend/packages/harness/deerflow/community/ragflow · git:20260918.34bbeb1 · 2026-09-18 · sha256 df533cd6f08c5347
AGENTS.md@backend/packages/harness/deerflow/community/ragflow git:20260918.34bbeb1A
Immutable. This exact content is served forever at /api/v1/blob/df533cd6f08c5347.
# RAGFlow citation snapshots `knowledge_search_tool` returns native `content_and_artifact`: model-visible `[citation:N](#knowledge-<opaque-id>)` links resolve to bounded `artifact.knowledge_sources` version-one evidence snapshots. Provider locators stay in the artifact; source names and text are credential-redacted in both representations. IDs are unique per retrieval, never per-message ordinal IDs. Only actual emitted entries get source records. Retain the exact excerpt sent to the model and mark truncation; do not fetch a fresh chunk and present it as historical evidence. Direct `knowledge_search()` callers retain its string API. `sources.py` forwards only captured sources cited by ordinary subagent results, with count/text budgets. The source dialog uses stored thread messages and introduces no unauthenticated document proxy. Durable batch result storage and standalone Markdown do not include native source artifacts. Output budgeting retains complete evidence entries and their source records together, including delegated results and model-request history. Never shorten an excerpt under an existing ID. Drop entries that cannot fit, with an omission notice, while preserving unrelated artifact fields. This honors per-tool and fallback limits without exempting citation-bearing results from the budget.