We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e97510 commit 984832fCopy full SHA for 984832f
1 file changed
apps/studio/src/components/studio-code-session/conversation/index.tsx
@@ -252,10 +252,7 @@ export function entriesToRenderItems( entries: SessionEntry[] ): RenderItem[] {
252
return items;
253
}
254
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.
+// True when the most recent turn was interrupted by the user.
259
export function isConversationStopped( entries: SessionEntry[] ): boolean {
260
for ( let index = entries.length - 1; index >= 0; index -= 1 ) {
261
const entry = entries[ index ];
0 commit comments