mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
Remove unnecessary sleep.
- Code review comment: https://github.com/google-gemini/gemini-code/pull/271#pullrequestreview-2821741430
This commit is contained in:
committed by
N. Taylor Mullen
parent
327bd5f836
commit
6989032414
@@ -392,8 +392,6 @@ export const useGeminiStream = (
|
|||||||
refreshStatic();
|
refreshStatic();
|
||||||
}
|
}
|
||||||
|
|
||||||
await new Promise((resolve) => setTimeout(resolve, 0)); // Allow UI to re-render
|
|
||||||
|
|
||||||
if (outcome === ToolConfirmationOutcome.Cancel) {
|
if (outcome === ToolConfirmationOutcome.Cancel) {
|
||||||
let resultDisplay: ToolResultDisplay | undefined;
|
let resultDisplay: ToolResultDisplay | undefined;
|
||||||
if ('fileDiff' in originalConfirmationDetails) {
|
if ('fileDiff' in originalConfirmationDetails) {
|
||||||
|
|||||||
Reference in New Issue
Block a user