Skip to content

Commit 53f7498

Browse files
committed
docs: update event type count and tool count documentation
Updated documentation to reflect correct counts for stream event types (16 vs 14) and core built-in tools (13 vs 14) in the UI components. This ensures accurate representation of the system's capabilities and prevents confusion for users reviewing the documentation.
1 parent 1eb6fc0 commit 53f7498

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/pages/InteractionLoop.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ const request = await prepareRequest(userParts, ideContextDelta);
413413
<div className="text-[var(--cyber-blue)] font-bold">packages/cli/src/ui/hooks/useGeminiStream.ts</div>
414414
<div className="pl-4 space-y-1 text-[var(--text-muted)]">
415415
<div>:786 - <span className="text-[var(--amber)]">submitQuery()</span> - 主循环入口</div>
416-
<div>:702 - <span className="text-[var(--amber)]">流事件处理循环</span> - 处理 14 种事件类型</div>
416+
<div>:702 - <span className="text-[var(--amber)]">流事件处理循环</span> - 处理 16 种事件类型</div>
417417
<div>:994 - <span className="text-[var(--amber)]">handleCompletedTools()</span> - Continuation 触发</div>
418418
<div>:488 - <span className="text-[var(--amber)]">getIdeContextDelta()</span> - IDE 上下文增量</div>
419419
</div>
@@ -457,7 +457,7 @@ const request = await prepareRequest(userParts, ideContextDelta);
457457
<MermaidDiagram chart={streamEventsChart} title="流事件处理流程" />
458458

459459
<div className="mt-4">
460-
<h5 className="text-[var(--text-primary)] font-semibold font-mono mb-2">14 种事件类型 (GeminiEventType)</h5>
460+
<h5 className="text-[var(--text-primary)] font-semibold font-mono mb-2">16 种事件类型 (GeminiEventType)</h5>
461461
<div className="overflow-x-auto">
462462
<table className="w-full text-sm">
463463
<thead>

src/pages/ToolReference.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export function ToolReference() {
155155
</p>
156156

157157
<div className="grid grid-cols-1 md:grid-cols-3 gap-4">
158-
<HighlightBox title="Core 内置工具 (14个)" variant="blue">
158+
<HighlightBox title="Core 内置工具 (13个)" variant="blue">
159159
<div className="text-sm space-y-2">
160160
<p className="text-gray-300 font-semibold">来源: config.ts:1092-1178</p>
161161
<p className="text-gray-400 text-xs mb-2">

0 commit comments

Comments
 (0)