fix: broken range slider ctx lenght (#4535)

This commit is contained in:
Faisal Amir 2025-01-28 23:15:02 +07:00 committed by GitHub
parent 261b44d906
commit 010802012f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -202,16 +202,6 @@ const ThreadRightPanel = () => {
},
})
}
if (
key === 'ctx_len' &&
Number(value) < activeAssistant.model.parameters.max_tokens
) {
updateModelParameter(activeThread, {
params: {
max_tokens: activeAssistant.model.settings.ctx_len,
},
})
}
}
},
[