Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(settings): correct search panel to respect saved language filter

Steven Enamakelf297f561af8f
diff --git a/app/src/components/settings/panels/SearchPanel.tsx b/app/src/components/settings/panels/SearchPanel.tsx
index 1fbe13e240..c499d025f4 100644
--- a/app/src/components/settings/panels/SearchPanel.tsx
+++ b/app/src/components/settings/panels/SearchPanel.tsx
@@ -364,8 +364,12 @@ const SearchPanel = ({ embedded = false }: { embedded?: boolean }) => {
/>
</Card>
+ {/* Keys and the website policy are independent, mid-sized cards:
+ side by side once the page is wide enough for key inputs. */}
+ <TileGrid columns={2} className="md:grid-cols-1 xl:grid-cols-2">
{/* ── BYO API keys, one row per direct provider ───────────── */}
<Card
+ className="h-full"
title={t('settings.search.apiKeysHeading')}
description={t('settings.search.apiKeysDesc')}>
{KEY_ROWS.map(row => (
@@ -392,6 +396,7 @@ const SearchPanel = ({ embedded = false }: { embedded?: boolean }) => {
web_fetch / curl and (when enabled) the browser tool. Web
search is not gated by this list. ────────────────────── */}
<Card
+ className="h-full"
title={t('settings.search.allowedSitesLabel')}
description={
mode === 'all'
@@ -453,6 +458,7 @@ const SearchPanel = ({ embedded = false }: { embedded?: boolean }) => {
</div>
)}
</Card>
+ </TileGrid>
<StatusLine
saving={status.kind === 'saving'}