fix: resolve hydration error

This commit is contained in:
伏晓
2023-03-27 16:58:53 +08:00
parent b1f27aaf93
commit fb06fb8c38
4 changed files with 12 additions and 3 deletions

View File

@@ -354,7 +354,7 @@ export function Settings(props: { closeSettings: () => void }) {
<input
type="number"
min={100}
max={4000}
max={4096}
value={config.modelConfig.max_tokens}
onChange={(e) =>
updateConfig(