mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-24 03:54:43 -07:00
Add an eval for and fix unsafe cloning behavior. (#24457)
This commit is contained in:
committed by
GitHub
parent
0a8da988ed
commit
d2b775f9a7
@@ -432,7 +432,7 @@ export const InputPrompt: React.FC<InputPromptProps> = ({
|
||||
slashCommands,
|
||||
);
|
||||
if (commandToExecute?.isSafeConcurrent) {
|
||||
inputHistory.handleSubmit(trimmedMessage);
|
||||
handleSubmitAndClear(trimmedMessage);
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -450,6 +450,7 @@ export const InputPrompt: React.FC<InputPromptProps> = ({
|
||||
streamingState,
|
||||
setQueueErrorMessage,
|
||||
slashCommands,
|
||||
handleSubmitAndClear,
|
||||
],
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user