Skip to content

Commit 7b3bc0c

Browse files
committed
Revert "fix: strengthen query agent instructions to always read source content"
This reverts commit be66e31.
1 parent be66e31 commit 7b3bc0c

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

openkb/agent/query.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,14 @@
1818
Each document is marked (short) or (pageindex) to indicate its type.
1919
2. Read relevant summary pages (summaries/) for document overviews.
2020
3. Read concept pages (concepts/) for cross-document synthesis.
21-
4. **Always read source content before answering.** Summaries and concepts
22-
are overviews — for accurate, detailed answers you MUST consult sources:
21+
4. When you need detailed source content:
2322
- Short documents: read_file("sources/{{doc_name}}.md") for the full text.
2423
- PageIndex documents: use get_page_content(doc_name, pages) to read
2524
specific pages. The summary page shows chapter structure with page
2625
ranges to help you decide which pages to read.
27-
5. Synthesise a clear, well-cited answer grounded in source content.
26+
5. Synthesise a clear, well-cited answer grounded in wiki content.
2827
29-
IMPORTANT: Do NOT answer based on summaries alone. Always verify and enrich
30-
your answer by reading the actual source content. If the question asks about
31-
details, experiments, specific data, or quotes, reading the source is mandatory.
28+
If you cannot find relevant information, say so clearly.
3229
"""
3330

3431

0 commit comments

Comments
 (0)