fix: broken range slider ctx lenght (#4535)
This commit is contained in:
parent
261b44d906
commit
010802012f
@ -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,
|
||||
},
|
||||
})
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user