mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 20:50:34 +00:00
Revert "feat: Add /config refresh command" (#5060)
This commit is contained in:
parent
4b3e407d49
commit
56c2d95a4c
6 changed files with 40 additions and 168 deletions
|
|
@ -50,7 +50,6 @@ export const useSlashCommandProcessor = (
|
|||
openPrivacyNotice: () => void,
|
||||
toggleVimEnabled: () => Promise<boolean>,
|
||||
setIsProcessing: (isProcessing: boolean) => void,
|
||||
refreshConfig: () => Promise<void>,
|
||||
) => {
|
||||
const session = useSessionStats();
|
||||
const [commands, setCommands] = useState<readonly SlashCommand[]>([]);
|
||||
|
|
@ -159,7 +158,6 @@ export const useSlashCommandProcessor = (
|
|||
setPendingItem: setPendingCompressionItem,
|
||||
toggleCorgiMode,
|
||||
toggleVimEnabled,
|
||||
refreshConfig,
|
||||
},
|
||||
session: {
|
||||
stats: session.stats,
|
||||
|
|
@ -182,7 +180,6 @@ export const useSlashCommandProcessor = (
|
|||
toggleCorgiMode,
|
||||
toggleVimEnabled,
|
||||
sessionShellAllowlist,
|
||||
refreshConfig,
|
||||
],
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue