mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-02 10:29:02 +08:00
refactor(AgentSettings): remove redundant toast notification after save
This commit is contained in:
parent
7b96900726
commit
20dd4794b0
@ -45,7 +45,6 @@ const AgentEssentialSettings: FC<AgentEssentialSettingsProps> = ({ agent, update
|
||||
if (!agent) return
|
||||
const _agent = { ...agent, type: undefined, name: name.trim(), instructions } satisfies UpdateAgentForm
|
||||
update(_agent)
|
||||
window.toast.success(t('common.saved'))
|
||||
}
|
||||
|
||||
const promptVarsContent = <pre>{t('agents.add.prompt.variables.tip.content')}</pre>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user