File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -735,6 +735,7 @@ export const Chat = ({
735735 < StatusIndicator
736736 clipboardMessage = { clipboardMessage }
737737 isActive = { isStatusActive }
738+ isWaitingForResponse = { isWaitingForResponse }
738739 timerStartTime = { timerStartTime }
739740 nextCtrlCWillExit = { nextCtrlCWillExit }
740741 />
Original file line number Diff line number Diff line change @@ -37,11 +37,13 @@ const useConnectionStatus = () => {
3737export const StatusIndicator = ( {
3838 clipboardMessage,
3939 isActive = false ,
40+ isWaitingForResponse = false ,
4041 timerStartTime,
4142 nextCtrlCWillExit,
4243} : {
4344 clipboardMessage ?: string | null
4445 isActive ?: boolean
46+ isWaitingForResponse ?: boolean
4547 timerStartTime : number | null
4648 nextCtrlCWillExit : boolean
4749} ) => {
@@ -67,7 +69,7 @@ export const StatusIndicator = ({
6769 }
6870
6971 if ( isActive ) {
70- if ( ! timerStartTime || Date . now ( ) - timerStartTime < 1000 ) {
72+ if ( isWaitingForResponse ) {
7173 return (
7274 < ShimmerText
7375 text = "thinking..."
You can’t perform that action at this time.
0 commit comments