mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-09-11 12:00:52 +08:00
feat: option to regenerate the answer after switching model (#98)
This commit is contained in:
@@ -235,6 +235,17 @@ function GeneralPart({ config, updateConfig }) {
|
||||
/>
|
||||
{t('Lock scrollbar while answering')}
|
||||
</label>
|
||||
<label>
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={config.autoRegenAfterSwitchModel}
|
||||
onChange={(e) => {
|
||||
const checked = e.target.checked
|
||||
updateConfig({ autoRegenAfterSwitchModel: checked })
|
||||
}}
|
||||
/>
|
||||
{t('Regenerate the answer after switching model')}
|
||||
</label>
|
||||
<br />
|
||||
</>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user