Skip to content

Commit

Permalink
fix(followups): force integer for num_ctx
Browse files Browse the repository at this point in the history
  • Loading branch information
Fortyseven committed Oct 13, 2024
1 parent 856826e commit 0a669fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TabPages/Conversation/Chat/FollowUps.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Only respond with valid JSON in this format: ["suggestion", "suggestion2"]`
// to the new size; and then the user gets hit
// with another as it returns to their existing
// one; so just use what we have
num_ctx: $chatState.values.num_ctx || 2048
num_ctx: parseInt($chatState.values.num_ctx || 2048)
}
});
Expand Down

0 comments on commit 0a669fb

Please sign in to comment.