Skip to content

Commit

Permalink
fix token slider
Browse files Browse the repository at this point in the history
  • Loading branch information
cogentapps committed Jul 4, 2023
1 parent 2d42fbd commit 359d3c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/plugins/trimmer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class ContextTrimmerPlugin extends Plugin<ContextTrimmerPluginOptions> {
type: "slider",
min: 512,
max: maxTokensByModel[options.getOption('parameters', 'model')] || 2048,
step: 512,
step: 64,
}),
validate: (value, options) => {
const max = maxTokensByModel[options.getOption('parameters', 'model')] || 2048;
Expand Down

0 comments on commit 359d3c6

Please sign in to comment.