Refine flowchart in DESIGN.md for improved clarity on search decision-making

- Updated the flowchart to enhance the representation of the search process, clarifying the conditions under which search is skipped or auto-triggered.
- Revised labels in the flowchart for better readability and understanding of the search control logic, ensuring consistency with recent documentation updates.
This commit is contained in:
Max 2025-12-12 19:47:55 +08:00
parent 9451829755
commit f7af652aab

View file

@ -63,9 +63,9 @@ function Create(ctx, messages, options) {
```mermaid
flowchart TD
A[Stream Start] --> B{Uses.Search?}
B -->|"disabled"| C[Skip Search]
B -->|"builtin"/assistant/mcp| D{Hook Handled?}
D -->|Yes: uses.search="disabled"| C
B -->|disabled| C[Skip Search]
B -->|builtin/agent/mcp| D{Hook Handled?}
D -->|"Yes (uses.search=disabled)"| C
D -->|No| E[Auto Search]
E --> F{Check Assistant Config}