chatModel.ts ×6

Frontier kind: Code frontier

unlabeled · c_3e0474173362

41 tests · 44097 LOC · 194 files · introduces 0 tests · 8 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
6 ranges8 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
3961 ranges44097 lines · 194 files · Browse complete extent
All tests (intent)
41 testsBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

1 file ranked by introduced lines: 8 introduced LOC across 6 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

src/vs/workbench/contrib/chat/common/model/chatModel.ts 8 introduced LOC · 6 ranges

Open complete file

844
845 updateContent(progress: IChatProgressResponseContent | IChatTextEdit | IChatNotebookEdit | IChatTask | IChatExternalToolInvocationUpdate, quiet?: boolean): void {
846 > if (progress.kind !== 'thinking') { chatModel.ts
847 this.finalizeReasoningDuration();
848 }
849 > chatModel.ts
850 > if (progress.kind === 'clearToPreviousToolInvocation') {
851 if (progress.reason === ChatResponseClearToPreviousToolInvocationReason.CopyrightContentRetry) {
852 this.clearToPreviousToolInvocation(localize('copyrightContentRetry', "Response cleared due to possible match to public code, retrying with modified prompt."));
857 }
858 return;
859 > } else if (progress.kind === 'markdownContent') { chatModel.ts
860
861 // last response which is NOT a text edit group because we do want to support heterogenous streaming but not have
874 }
875 this._contentChanged(quiet);
876 > } else if (progress.kind === 'thinking') { chatModel.ts
877
878 // tries to split thinking chunks if it is an array. only while certain models give us array chunks.
967 this._contentChanged(quiet);
968 }
969 > } chatModel.ts
970
971 /**
1097 this._invalidateRepr();
1098 if (!quiet) {
1099 > this._onDidChangeValue.fire(); chatModel.ts
1100 > }
1101 }
1102 }