From f7af652aab6a5c81fcdb83c5542063e5186c697d Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 12 Dec 2025 19:47:55 +0800 Subject: [PATCH] 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. --- agent/search/DESIGN.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/agent/search/DESIGN.md b/agent/search/DESIGN.md index b243c4c0..e2b770bc 100644 --- a/agent/search/DESIGN.md +++ b/agent/search/DESIGN.md @@ -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}