File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ export function StartHere({ onNavigate }: StartHereProps) {
8282 < div className = "mb-8" >
8383 < p className = "text-xs font-mono text-dim uppercase tracking-widest mb-4" > Architecture Deep Dive</ p >
8484 < h1 className = "text-3xl md:text-4xl font-bold tracking-tight text-heading leading-tight" >
85- Gemini CLI< br />
85+ AI Agent CLI< br />
8686 < span className = "text-body font-normal" > 架构深度解析</ span >
8787 </ h1 >
8888 </ div >
@@ -128,7 +128,7 @@ export function StartHere({ onNavigate }: StartHereProps) {
128128 </ div >
129129
130130 < p className = "text-sm text-dim border-t border-edge pt-4" >
131- 基于 Google Gemini CLI 源码分析,涵盖
131+ 基于 AI Agent CLI 源码分析,涵盖
132132 < code > GeminiChat</ code > 、< code > Hook/Policy</ code > 、< code > Agent 框架</ code >
133133 等事件驱动架构。
134134 </ p >
Original file line number Diff line number Diff line change @@ -13,16 +13,16 @@ import { CodeBlock } from '../components/CodeBlock';
1313
1414export function VisionModelSwitch ( ) {
1515 const multimodalFlow = `flowchart TD
16- A[用户输入\n (文本 + @ file/@ dir 等) ] --> B[解析为 PartListUnion]
17- B --> C{Part 类型?}
18- C -->|text| T[Part.text]
19- C -->|inlineData| I[Part.inlineData\n (image/audio/pdf...) ]
20- C -->|fileData| F[Part.fileData\n (gs://... 等引用)]
21- T --> D[contentGenerator.generateContentStream()]
16+ A[" 用户输入<br/> (文本 + file/dir 引用)" ] --> B[" 解析为 PartListUnion" ]
17+ B --> C{" Part 类型?" }
18+ C -->|text| T[" Part.text" ]
19+ C -->|inlineData| I[" Part.inlineData<br/> (image/audio/pdf)" ]
20+ C -->|fileData| F[" Part.fileData<br/> (gs:// 等引用)" ]
21+ T --> D[" contentGenerator.generateContentStream()" ]
2222 I --> D
2323 F --> D
24- D --> E[Gemini API 返回流式 chunks]
25- E --> G[Turn.run 归一为事件\nContent/ Thought/ToolCallRequest/Finished]
24+ D --> E[" Gemini API 返回流式 chunks" ]
25+ E --> G[" Turn.run 归一为事件<br/>Content/ Thought/ToolCallRequest/Finished" ]
2626` ;
2727
2828 return (
You can’t perform that action at this time.
0 commit comments