Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions frontend/src/components/app-config/user-config-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1359,6 +1359,32 @@ export const UserConfigForm: React.FC = () => {
</div>
)}
/>
<FormField
control={form.control}
name="experimental.mcp_docs"
render={({ field }) => (
<div className="flex flex-col gap-y-1">
<FormItem className={formItemClasses}>
<FormLabel className="font-normal">Chat Mode</FormLabel>
<FormControl>
<Checkbox
data-testid="chat-mode-checkbox"
checked={field.value === true}
onCheckedChange={field.onChange}
/>
</FormControl>
</FormItem>
<IsOverridden
userConfig={config}
name="experimental.mcp_docs"
/>
<FormDescription>
Switch between different modes in the Chat sidebar, to
enable tool use.
</FormDescription>
</div>
)}
/>
</SettingGroup>
);
}
Expand Down
Loading