Skip to content

Commit 984832f

Browse files
author
Kateryna Kodonenko
committed
Comments cleanup
1 parent 3e97510 commit 984832f

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

  • apps/studio/src/components/studio-code-session/conversation

apps/studio/src/components/studio-code-session/conversation/index.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,7 @@ export function entriesToRenderItems( entries: SessionEntry[] ): RenderItem[] {
252252
return items;
253253
}
254254

255-
// A conversation counts as "stopped" when the most recent turn ended because
256-
// the user interrupted it. We scan back from the end: the first turn boundary
257-
// we meet decides the answer, and a trailing user prompt (a turn that has since
258-
// been started again) means we're no longer in the stopped state.
255+
// True when the most recent turn was interrupted by the user.
259256
export function isConversationStopped( entries: SessionEntry[] ): boolean {
260257
for ( let index = entries.length - 1; index >= 0; index -= 1 ) {
261258
const entry = entries[ index ];

0 commit comments

Comments
 (0)