We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e667511 commit f3a7025Copy full SHA for f3a7025
intellichat/src/components/chat-settings.tsx
@@ -126,6 +126,10 @@ export default function ChatSettings({ close }: { close: () => void }) {
126
the number, the more context the AI will have to work with.
127
This will determine the number of messages used to generate
128
the context when the "Use Chat Context" option is enabled.`}
129
+ onChange={(e) => {
130
+ const value = Number(e.target.value);
131
+ form.setValue('numberOfMessages', value);
132
+ }}
133
/>
134
<FormSelectField
135
control={form.control}
0 commit comments