mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 12:54:07 -07:00
adding back Update Attempt text to Retry change that was accidentally reverted
This commit is contained in:
@@ -223,6 +223,6 @@ describe('useLoadingIndicator', () => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
expect(result.current.currentLoadingPhrase).toContain('Trying to reach');
|
expect(result.current.currentLoadingPhrase).toContain('Trying to reach');
|
||||||
expect(result.current.currentLoadingPhrase).toContain('Attempt 3/3');
|
expect(result.current.currentLoadingPhrase).toContain('Retry 2/2');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ export const useLoadingIndicator = ({
|
|||||||
}, [streamingState, elapsedTimeFromTimer]);
|
}, [streamingState, elapsedTimeFromTimer]);
|
||||||
|
|
||||||
const retryPhrase = retryStatus
|
const retryPhrase = retryStatus
|
||||||
? `Trying to reach ${getDisplayString(retryStatus.model)} (Attempt ${retryStatus.attempt + 1}/${retryStatus.maxAttempts})`
|
? `Trying to reach ${getDisplayString(retryStatus.model)} (Retry ${retryStatus.attempt}/${retryStatus.maxAttempts - 1})`
|
||||||
: null;
|
: null;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user