mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 20:50:34 +00:00
feat: remove redundant cancel message translations and improve message rendering
This commit is contained in:
parent
53a3727328
commit
54a861062c
11 changed files with 6 additions and 19 deletions
|
|
@ -141,7 +141,6 @@ export const useSlashCommandProcessor = (
|
|||
return;
|
||||
}
|
||||
abortControllerRef.current.abort();
|
||||
setPendingItem(null);
|
||||
addItem(
|
||||
{
|
||||
type: MessageType.INFO,
|
||||
|
|
@ -149,6 +148,7 @@ export const useSlashCommandProcessor = (
|
|||
},
|
||||
Date.now(),
|
||||
);
|
||||
setPendingItem(null);
|
||||
setIsProcessing(false);
|
||||
}, [addItem, setIsProcessing]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue