+ {options.map((option, index) => {
+ const title = tx(option.titleKey, option.title);
+ const Icon = option.kind === "priority" ? Zap : Globe2;
+ const checked = providerRequestOptionEnabled(option, extraBody);
+ return (
+
0 && "border-t border-border/45",
+ )}
+ >
+
+
+
+
+
+
{title}
+
+ {tx(option.helpKey, option.help)}
+
+
+
+
onChange(
+ updateProviderRequestOption(option, enabled, form),
+ )}
+ ariaLabel={title}
+ label={checked ? tx("settings.values.on", "On") : tx("settings.values.off", "Off")}
+ />
+
+ );
+ })}
+
+ );
+}
+
function ProviderAdvancedOptions({
fields,
form,
@@ -4065,11 +4231,11 @@ function ProviderAdvancedOptions({
) : null}
- {footer ? (
-