Merge branch 'master' of http://192.168.0.200/knowledge-base-bj/deerflow-code into master-nj
# Conflicts: # frontend-web/src/components/workspace/messages/message-group.tsx # offline-backend-20260512/backend/packages/harness/deerflow/agents/lead_agent/prompt.py
This commit is contained in:
commit
57b6a89f20
21 files changed
+441
-115
No files matched your search
@@ -679,6 +679,29 @@ login and theme query parameters, each shortcut may include ordered keyless
|
||||
it as an encoded path segment (including inside a `#/…` hash route); password
|
||||
remains an ordinary login query parameter with the key `password`.
|
||||
|
||||
### Citation display settings
|
||||
|
||||
Reference-mode entry points are controlled by `citation_display` in
|
||||
`.deer-flow/system_settings.json`. `reference_mode_enabled` defaults to `false`;
|
||||
when disabled, the frontend hides the "参考文献" composer button in both the
|
||||
normal workspace and iframe chat, and hides the per-user RAG citation toggle
|
||||
from appearance settings. Conversations with selected LLMWiki knowledge bases
|
||||
still show their source documents in the reference panel even when the manual
|
||||
entry is hidden. `GET /api/system-settings/citation-display` is
|
||||
readable by logged-in users so the UI can decide whether to expose the entry;
|
||||
`PUT /api/system-settings/citation-display` is admin-only and supports partial
|
||||
updates for both `reference_mode_enabled` and `cleanup_words`.
|
||||
|
||||
### Ordinary Q&A Markdown format switch
|
||||
|
||||
Administrators can opt into the formal long-answer Markdown prompt from the
|
||||
admin "问答提示词配置" panel. The value is persisted as
|
||||
`prompt_prefix.ordinary_qa_markdown_format_enabled` in
|
||||
`.deer-flow/system_settings.json` and defaults to `false`. When enabled, only
|
||||
ordinary Q&A receives the `# 主标题` / `## 一、标题` / `### (一) 标题` /
|
||||
`#### 1. 标题` rules; writing mode, notebook mode and scheduled runs remain
|
||||
unaffected. The change takes effect when the next prompt is built.
|
||||
|
||||
---
|
||||
|
||||
## Technology Stack
|
||||
|
||||
Reference in new issue
Block a user