mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-15 06:12:50 -07:00
Docs: Update architecture diagram with Google colors (for future aricles) (#718)
This commit is contained in:
committed by
GitHub
parent
194a53a987
commit
7a1774a8ae
+19
-7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user