Docs: Update architecture diagram with Google colors (for future aricles) (#718)

This commit is contained in:
Riccardo Carlesso
2025-06-04 21:33:07 +02:00
committed by GitHub
parent 4192cfb092
commit 13b55c6e68
2 changed files with 20 additions and 8 deletions

View File

@@ -57,14 +57,26 @@ A typical interaction with the Gemini CLI follows this general flow:
graph TD
User[User via Terminal] -- Input --> CLI[packages/cli]
CLI -- Request --> Core[packages/core]
Core -- Prompt/Tool Info --> GeminiAPI[Gemini API]
GeminiAPI -- Response/Tool Call --> Core
Core -- Tool Details --> CLI
CLI -- User Confirms --> Core
Core -- Execute Tool --> Tools[Tools e.g., read_file, shell]
Tools -- Tool Result --> Core
Core -- Final Response --> CLI
Core -- Prompt/ToolInfo --> GeminiAPI[Gemini API]
GeminiAPI -- Response/ToolCall --> Core
Core -- ToolDetails --> CLI
CLI -- UserConfirms --> Core
Core -- ExecuteTool --> Tools[Tools e.g., read_file, shell]
Tools -- ToolResult --> Core
Core -- FinalResponse --> CLI
CLI -- Output --> User
classDef userStyle fill:#FFFFFF,stroke:#333333,stroke-width:2px
classDef cliStyle fill:#FBBC05,stroke:#000000,stroke-width:2px
classDef coreStyle fill:#34A853,stroke:#000000,stroke-width:2px
classDef apiStyle fill:#4285F4,stroke:#3F51B5,stroke-width:2px
classDef toolsStyle fill:#EA4335,stroke:#000000,stroke-width:2px
class User userStyle
class CLI cliStyle
class Core coreStyle
class GeminiAPI apiStyle
class Tools toolsStyle
```
## Key Design Principles