Skip to content

Commit

Permalink
fix: broken range slider ctx lenght
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur committed Jan 28, 2025
1 parent 261b44d commit 5140772
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions web/screens/Thread/ThreadRightPanel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
})
}
}
},
[
Expand Down

0 comments on commit 5140772

Please sign in to comment.