Skip to content

7.4 billion tokens per month. 34 free LLM providers. 635 free model endpoints. All behind one /v1 endpoint, plus any custom OpenAI-compatible endpoint. Smart routing, automatic failover, encrypted keys. Personal experimentation only.

TypeScript

feat(playground): + menu with attach and web search, sources tucked under Show (#1174) (#1494)

Tashfeena287b4489c0b
diff --git a/client/src/components/playground/liquid-composer.test.tsx b/client/src/components/playground/liquid-composer.test.tsx
new file mode 100644
index 00000000..56ce0f80
--- /dev/null
+++ b/client/src/components/playground/liquid-composer.test.tsx
@@ -0,0 +1,74 @@
+// @vitest-environment jsdom
+// #1174: the composer's + menu carries "Attach files" and the web search
+// switch; while web search is on the + turns blue with a dot rather than
+// putting a chip in the input.
+import { afterEach, beforeAll, beforeEach, expect, it, vi } from 'vitest'
+import { act, createRef } from 'react'
+import { createRoot, type Root } from 'react-dom/client'
+import { LiquidComposer, type LiquidComposerProps } from './liquid-composer'
+
+let root: Root
+let container: HTMLDivElement
+
+beforeAll(() => {
+ (globalThis as unknown as { IS_REACT_ACT_ENVIRONMENT: boolean }).IS_REACT_ACT_ENVIRONMENT = true
+ // jsdom has neither; the goo layer measures itself and checks reduced motion.
+ globalThis.ResizeObserver ??= class { observe() {} unobserve() {} disconnect() {} } as unknown as typeof ResizeObserver
+ window.matchMedia ??= ((query: string) => ({
+ matches: false, media: query, onchange: null,
+ addEventListener() {}, removeEventListener() {}, addListener() {}, removeListener() {}, dispatchEvent: () => false,
+ })) as unknown as typeof window.matchMedia
+})
+beforeEach(() => {
+ container = document.createElement('div'); document.body.appendChild(container); root = createRoot(container)
+})
+afterEach(() => { act(() => root.unmount()); container.remove(); document.body.innerHTML = '' })
+
+function render(over: Partial<LiquidComposerProps> = {}) {
+ const props: LiquidComposerProps = {
+ inputRef: createRef<HTMLTextAreaElement>(),
+ value: '', onChange: () => {}, onKeyDown: () => {}, onPaste: () => {},
+ placeholder: 'Type a message', hasContent: false, loading: false, onSend: () => {}, onAttach: () => {},
+ labels: { add: 'Add files and tools', attach: 'Attach files', send: 'Send', sending: 'Sending' },
+ dictation: { available: false, model: 'auto', apiKey: null, onText: () => {} },
+ ...over,
+ }
+ act(() => root.render(<LiquidComposer {...props} />))
+}
+
+const plus = () => document.querySelector<HTMLButtonElement>('button[aria-label^="Add files and tools"]')!
+
+async function openMenu() {
+ await act(async () => { plus().click() })
+ await act(async () => { await new Promise(r => setTimeout(r, 0)) })
+}
+
+it('opens a + menu with Attach files and the web search switch', async () => {
+ const onAttach = vi.fn()
+ const onToggle = vi.fn()
+ render({ onAttach, webSearch: { enabled: false, available: true, label: 'Search the web', unavailableHint: 'Add a key', onToggle } })
+ expect(document.querySelector('[data-testid="web-search-indicator"]')).toBeNull()
+ await openMenu()
+ const search = document.querySelector<HTMLElement>('[role="menuitemcheckbox"]')!
+ expect(search.textContent).toContain('Search the web')
+ await act(async () => { search.click() })
+ expect(onToggle).toHaveBeenCalledWith(true)
+ const attach = [...document.querySelectorAll<HTMLElement>('[role="menuitem"]')].find(el => el.textContent?.includes('Attach files'))!
+ await act(async () => { attach.click() })
+ expect(onAttach).toHaveBeenCalled()
+})
+
+it('marks the + instead of showing a chip while web search is on', () => {
+ render({ webSearch: { enabled: true, available: true, label: 'Search the web', unavailableHint: 'Add a key', onToggle: () => {} } })
+ expect(document.querySelector('[data-testid="web-search-indicator"]')).not.toBeNull()
+ expect(plus().getAttribute('aria-label')).toBe('Add files and tools · Search the web')
+ expect(container.textContent).not.toContain('Web search on')
+})
+
+it('disables the switch and explains why when there is no search key', async () => {
+ render({ webSearch: { enabled: false, available: false, label: 'Search the web', unavailableHint: 'Add a search key on the Keys page', onToggle: () => {} } })
+ await openMenu()
+ const search = document.querySelector<HTMLElement>('[role="menuitemcheckbox"]')!
+ expect(search.getAttribute('aria-disabled') ?? search.getAttribute('data-disabled')).not.toBeNull()
+ expect(document.body.textContent).toContain('Add a search key on the Keys page')
+})
diff --git a/client/src/components/playground/liquid-composer.tsx b/client/src/components/playground/liquid-composer.tsx
index c90f34c0..757f8cdd 100644
--- a/client/src/components/playground/liquid-composer.tsx
+++ b/client/src/components/playground/liquid-composer.tsx
@@ -1,7 +1,9 @@
import { useEffect, useState, type ClipboardEvent, type KeyboardEvent, type RefObject } from 'react'
import { Liquid } from 'liquid-gooey'
-import { ArrowUp, Globe, Paperclip, X } from 'lucide-react'
-import { Button } from '@/components/ui/button'
+import { ArrowUp, Globe, Paperclip, Plus } from 'lucide-react'
+import { buttonVariants } from '@/components/ui/button'
+import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger } from '@/components/ui/dropdown-menu'
+import { Switch } from '@/components/ui/switch'
import { DictationButton, type DictationPhase } from './dictation-button'
import { DictationWave } from './dictation-wave'
import {
@@ -41,11 +43,12 @@ export interface LiquidComposerProps {
loading: boolean
onSend: () => void
onAttach: () => void
- labels: { attach: string; send: string; sending: string }
+ labels: { add: string; attach: string; send: string; sending: string }
/** Speech to text for the mic; the transcript is appended to `value`. */
dictation: { available: boolean; model: string; apiKey: string | null | undefined; onText: (text: string) => void }
- /** Shown as a chip while web search is on (#1174); clicking it turns it off. */
- webSearch?: { label: string; offLabel: string; onDisable: () => void }
+ /** The web search switch in the + menu (#1174). While it is on, the + turns
+ * blue with a small dot instead of a chip in the field, so the input stays clear. */
+ webSearch?: { enabled: boolean; available: boolean; label: string; unavailableHint: string; onToggle: (on: boolean) => void }
}
export function LiquidComposer({
@@ -87,30 +90,56 @@ export function LiquidComposer({
className={`flex gap-1 ps-1 pe-2 py-1 ${grown ? 'items-end' : 'items-center'}`}
style={{ borderRadius: COMPOSER_CORNER_PX }}
>
- <Button
- variant="ghost"
- size="icon"
- className="shrink-0 rounded-full text-muted-foreground hover:text-foreground"
- onClick={onAttach}
- disabled={loading}
- aria-label={labels.attach}
- title={labels.attach}
- >
- <Paperclip className="size-4" />
- </Button>
- {webSearch && (
- <button
- type="button"
- onClick={webSearch.onDisable}
- aria-label={webSearch.offLabel}
- title={webSearch.offLabel}
- className={`group/ws inline-flex h-7 shrink-0 items-center gap-1 self-center rounded-full border border-sky-600/30 bg-background px-2 text-[11px] text-sky-700 transition-colors hover:border-foreground/20 hover:text-foreground dark:text-sky-300 ${grown ? 'mb-0.5' : ''}`}
+ {/* One + for everything that goes with the message: files, and the
+ web search switch (which the settings rail also carries). */}
+ <DropdownMenu>
+ <DropdownMenuTrigger
+ className={`${buttonVariants({ variant: 'ghost', size: 'icon' })} relative shrink-0 rounded-full text-muted-foreground hover:text-foreground data-popup-open:text-foreground ${grown ? 'mb-0.5' : ''}`}
+ disabled={loading}
+ aria-label={webSearch?.enabled ? `${labels.add} · ${webSearch.label}` : labels.add}
+ title={webSearch?.enabled ? `${labels.add} · ${webSearch.label}` : labels.add}
>
- <Globe className="size-3 group-hover/ws:hidden" />
- <X className="hidden size-3 group-hover/ws:block" />
- {webSearch.label}
- </button>
- )}
+ <Plus className={`size-4 ${webSearch?.enabled ? 'text-sky-600 dark:text-sky-300' : ''}`} />
+ {webSearch?.enabled && (
+ <span
+ data-testid="web-search-indicator"
+ className="pointer-events-none absolute top-1.5 right-1.5 size-1.5 rounded-full bg-sky-500"
+ />
+ )}
+ </DropdownMenuTrigger>
+ <DropdownMenuContent side="top" align="start" sideOffset={8} className="w-56">
+ <DropdownMenuItem onClick={onAttach}>
+ <Paperclip />
+ {labels.attach}
+ </DropdownMenuItem>
+ {webSearch && (
+ <>
+ <DropdownMenuSeparator />
+ <DropdownMenuItem
+ closeOnClick={false}
+ disabled={!webSearch.available}
+ onClick={() => webSearch.onToggle(!webSearch.enabled)}
+ title={webSearch.available ? undefined : webSearch.unavailableHint}
+ aria-checked={webSearch.enabled}
+ role="menuitemcheckbox"
+ >
+ <Globe />
+ <span className="flex-1">{webSearch.label}</span>
+ <Switch
+ size="sm"
+ checked={webSearch.enabled}
+ tabIndex={-1}
+ aria-hidden
+ className="pointer-events-none"
+ />
+ </DropdownMenuItem>
+ {!webSearch.available && (
+ <p className="px-1.5 pt-0.5 pb-1 text-[11px] leading-snug text-muted-foreground">{webSearch.unavailableHint}</p>
+ )}
+ </>
+ )}
+ </DropdownMenuContent>
+ </DropdownMenu>
{/* While the mic is open the field shows the voice, not the text:
the textarea keeps its value and size, the wave paints over it. */}
{/* A flex wrapper: an inline textarea inside a block div gets a
diff --git a/client/src/i18n/locales/am.json b/client/src/i18n/locales/am.json
index 90b5d8af..c46a0ba3 100644
--- a/client/src/i18n/locales/am.json
+++ b/client/src/i18n/locales/am.json
@@ -887,6 +887,7 @@
"maxTokens": "ከፍተኛ ማስኬቶች",
"errorTitle": "ጥያቄ አልተሳካም",
"attach": "ፋይሎችን ያያይዙ",
+ "addMenu": "Add files and tools",
"attachTooMany": "በአንድ መልእክት እስከ {count} ፋይሎች ማያያዝ ይችላሉ።",
"attachTooLarge": "{name} በጣም ትልቅ ነው። ገደቡ {max} ነው።",
"attachUnsupported": "{name} አይደገፍም። ምስሎችን (PNG, JPEG, WebP, GIF) ወይም የጽሑፍ ፋይሎችን (TXT, MD, CSV, JSON, LOG) ያያይዙ።",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/ar.json b/client/src/i18n/locales/ar.json
index 9616e9b6..a03ed19c 100644
--- a/client/src/i18n/locales/ar.json
+++ b/client/src/i18n/locales/ar.json
@@ -887,6 +887,7 @@
"maxTokens": "الحد الأقصى للرموز",
"errorTitle": "فشل الطلب",
"attach": "إرفاق الملفات",
+ "addMenu": "Add files and tools",
"attachTooMany": "يمكنك إرفاق ما يصل إلى {count} ملفات لكل رسالة.",
"attachTooLarge": "حجم {name} كبير جدًا. الحد الأقصى هو {max}.",
"attachUnsupported": "{name} غير مدعوم. أرفق صورًا (PNG، JPEG، WebP، GIF) أو ملفات نصية (TXT، MD، CSV، JSON، LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/az.json b/client/src/i18n/locales/az.json
index 358ef5c4..f3093ff9 100644
--- a/client/src/i18n/locales/az.json
+++ b/client/src/i18n/locales/az.json
@@ -887,6 +887,7 @@
"maxTokens": "Maksimum token",
"errorTitle": "Tələb uğursuz oldu",
"attach": "Fayl əlavə et",
+ "addMenu": "Add files and tools",
"attachTooMany": "Hər mesaja ən çox {count} fayl əlavə edə bilərsiniz.",
"attachTooLarge": "{name} çox böyükdür. Maksimum həcm: {max}.",
"attachUnsupported": "{name} dəstəklənmir. Şəkil (PNG, JPEG, WebP, GIF) və ya mətn faylları (TXT, MD, CSV, JSON, LOG) əlavə edin.",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/bg.json b/client/src/i18n/locales/bg.json
index 9b73766e..960d8d22 100644
--- a/client/src/i18n/locales/bg.json
+++ b/client/src/i18n/locales/bg.json
@@ -887,6 +887,7 @@
"maxTokens": "Максимум токени",
"errorTitle": "Заявката беше провалена",
"attach": "Прикачване на файлове",
+ "addMenu": "Add files and tools",
"attachTooMany": "Може да прикачите до {count} файла на съобщение.",
"attachTooLarge": "{name} е твърде голям. Ограничението е {max}.",
"attachUnsupported": "{name} не се поддържа. Прикачете изображения (PNG, JPEG, WebP, GIF) или текстови файлове (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/bn.json b/client/src/i18n/locales/bn.json
index 929c1e1e..22c4a582 100644
--- a/client/src/i18n/locales/bn.json
+++ b/client/src/i18n/locales/bn.json
@@ -887,6 +887,7 @@
"maxTokens": "সর্বোচ্চ টোকেন",
"errorTitle": "অনুরোধ ব্যর্থ হয়েছে",
"attach": "ফাইল সংযুক্ত করুন",
+ "addMenu": "Add files and tools",
"attachTooMany": "আপনি প্রতি বার্তায় সর্বোচ্চ {count}টি ফাইল সংযুক্ত করতে পারেন।",
"attachTooLarge": "{name} খুব বড়। সীমা হল {max}।",
"attachUnsupported": "{name} সমর্থিত নয়। ছবি (PNG, JPEG, WebP, GIF) বা পাঠ্য ফাইল (TXT, MD, CSV, JSON, LOG) সংযুক্ত করুন।",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/cs.json b/client/src/i18n/locales/cs.json
index df27525d..0817288a 100644
--- a/client/src/i18n/locales/cs.json
+++ b/client/src/i18n/locales/cs.json
@@ -887,6 +887,7 @@
"maxTokens": "Max. tokenů",
"errorTitle": "Žádost neúspěšná",
"attach": "Připojit soubory",
+ "addMenu": "Add files and tools",
"attachTooMany": "Ke zprávě můžete připojit až {count} souborů.",
"attachTooLarge": "{name} je příliš velký. Limit je {max}.",
"attachUnsupported": "{name} není podporován. Připojte obrázky (PNG, JPEG, WebP, GIF) nebo textové soubory (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/da.json b/client/src/i18n/locales/da.json
index 64a3676e..5d7851b1 100644
--- a/client/src/i18n/locales/da.json
+++ b/client/src/i18n/locales/da.json
@@ -887,6 +887,7 @@
"maxTokens": "Maks. tokens",
"errorTitle": "Anmodningen mislykkedes",
"attach": "Vedhæft filer",
+ "addMenu": "Add files and tools",
"attachTooMany": "Du kan vedhæfte op til {count} filer pr. besked.",
"attachTooLarge": "{name} er for stor. Grænsen er {max}.",
"attachUnsupported": "{name} understøttes ikke. Vedhæft billeder (PNG, JPEG, WebP, GIF) eller tekstfiler (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/de.json b/client/src/i18n/locales/de.json
index 898edb38..48569705 100644
--- a/client/src/i18n/locales/de.json
+++ b/client/src/i18n/locales/de.json
@@ -887,6 +887,7 @@
"maxTokens": "Max. Tokens",
"errorTitle": "Die Anfrage ist fehlgeschlagen",
"attach": "Dateien anhängen",
+ "addMenu": "Add files and tools",
"attachTooMany": "Sie können bis zu {count} Dateien pro Nachricht anhängen.",
"attachTooLarge": "{name} ist zu groß. Das Limit beträgt {max}.",
"attachUnsupported": "{name} wird nicht unterstützt. Hängen Sie Bilder (PNG, JPEG, WebP, GIF) oder Textdateien (TXT, MD, CSV, JSON, LOG) an.",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/el.json b/client/src/i18n/locales/el.json
index ef56505e..2bb56cd3 100644
--- a/client/src/i18n/locales/el.json
+++ b/client/src/i18n/locales/el.json
@@ -887,6 +887,7 @@
"maxTokens": "Μέγιστα διακριτικά",
"errorTitle": "Το αίτημα απέτυχε",
"attach": "Επισύναψη αρχείων",
+ "addMenu": "Add files and tools",
"attachTooMany": "Μπορείτε να επισυνάψετε έως {count} αρχεία ανά μήνυμα.",
"attachTooLarge": "Το {name} είναι πολύ μεγάλο. Το όριο είναι {max}.",
"attachUnsupported": "Το {name} δεν υποστηρίζεται. Επισυνάψτε εικόνες (PNG, JPEG, WebP, GIF) ή αρχεία κειμένου (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/en.json b/client/src/i18n/locales/en.json
index a1400968..80cd215b 100644
--- a/client/src/i18n/locales/en.json
+++ b/client/src/i18n/locales/en.json
@@ -924,6 +924,7 @@
"maxTokens": "Max tokens",
"errorTitle": "Request failed",
"attach": "Attach files",
+ "addMenu": "Add files and tools",
"attachTooMany": "You can attach up to {count} files per message.",
"attachTooLarge": "{name} is too large. The limit is {max}.",
"attachUnsupported": "{name} is not supported. Attach images (PNG, JPEG, WebP, GIF) or text files (TXT, MD, CSV, JSON, LOG).",
@@ -1254,8 +1255,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/es.json b/client/src/i18n/locales/es.json
index 05ffb4ed..edf9c8fc 100644
--- a/client/src/i18n/locales/es.json
+++ b/client/src/i18n/locales/es.json
@@ -887,6 +887,7 @@
"maxTokens": "Tokens máximos",
"errorTitle": "La solicitud falló",
"attach": "Adjuntar archivos",
+ "addMenu": "Add files and tools",
"attachTooMany": "Puedes adjuntar hasta {count} archivos por mensaje.",
"attachTooLarge": "{name} es demasiado grande. El límite es {max}.",
"attachUnsupported": "{name} no es compatible. Adjunta imágenes (PNG, JPEG, WebP, GIF) o archivos de texto (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/fa.json b/client/src/i18n/locales/fa.json
index 6722dec6..9c376fe6 100644
--- a/client/src/i18n/locales/fa.json
+++ b/client/src/i18n/locales/fa.json
@@ -887,6 +887,7 @@
"maxTokens": "حداکثر توکن ها",
"errorTitle": "درخواست ناموفق بود",
"attach": "پیوست فایل‌ها",
+ "addMenu": "Add files and tools",
"attachTooMany": "در هر پیام حداکثر می‌توانید {count} فایل پیوست کنید.",
"attachTooLarge": "{name} خیلی بزرگ است. محدودیت {max} است.",
"attachUnsupported": "{name} پشتیبانی نمی‌شود. تصویر (PNG، JPEG، WebP، GIF) یا فایل متنی (TXT، MD، CSV، JSON، LOG) پیوست کنید.",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/fi.json b/client/src/i18n/locales/fi.json
index 837c452c..c9592c1f 100644
--- a/client/src/i18n/locales/fi.json
+++ b/client/src/i18n/locales/fi.json
@@ -887,6 +887,7 @@
"maxTokens": "Tokenien enimmäismäärä",
"errorTitle": "Pyyntö epäonnistui",
"attach": "Liitä tiedostoja",
+ "addMenu": "Add files and tools",
"attachTooMany": "Voit liittää enintään {count} tiedostoa viestiä kohden.",
"attachTooLarge": "{name} on liian suuri. Raja on {max}.",
"attachUnsupported": "{name} ei ole tuettu. Liitä kuvia (PNG, JPEG, WebP, GIF) tai tekstitiedostoja (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/fr.json b/client/src/i18n/locales/fr.json
index 27d80c6d..df5daa61 100644
--- a/client/src/i18n/locales/fr.json
+++ b/client/src/i18n/locales/fr.json
@@ -887,6 +887,7 @@
"maxTokens": "Tokens max",
"errorTitle": "La requête a échoué",
"attach": "Joindre des fichiers",
+ "addMenu": "Add files and tools",
"attachTooMany": "Vous pouvez joindre jusqu'à {count} fichiers par message.",
"attachTooLarge": "{name} est trop volumineux. La limite est de {max}.",
"attachUnsupported": "{name} n'est pas pris en charge. Joignez des images (PNG, JPEG, WebP, GIF) ou des fichiers texte (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/gu.json b/client/src/i18n/locales/gu.json
index d838ad19..4a7925c6 100644
--- a/client/src/i18n/locales/gu.json
+++ b/client/src/i18n/locales/gu.json
@@ -887,6 +887,7 @@
"maxTokens": "મહત્તમ ટોકન્સ",
"errorTitle": "વિનંતી નિષ્ફળ",
"attach": "ફાઇલો જોડો",
+ "addMenu": "Add files and tools",
"attachTooMany": "તમે સંદેશ દીઠ વધુમાં વધુ {count} ફાઇલો જોડી શકો છો.",
"attachTooLarge": "{name} ખૂબ મોટી છે. મર્યાદા {max} છે.",
"attachUnsupported": "{name} સમર્થિત નથી. છબીઓ (PNG, JPEG, WebP, GIF) અથવા ટેક્સ્ટ ફાઇલો (TXT, MD, CSV, JSON, LOG) જોડો.",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/ha.json b/client/src/i18n/locales/ha.json
index c5b3afed..8ff840b3 100644
--- a/client/src/i18n/locales/ha.json
+++ b/client/src/i18n/locales/ha.json
@@ -887,6 +887,7 @@
"maxTokens": "Iyakar alamomi",
"errorTitle": "Buƙatar ta kasa",
"attach": "Haɗa fayiloli",
+ "addMenu": "Add files and tools",
"attachTooMany": "Za ka iya haɗa har fayiloli {count} a kowane saƙo.",
"attachTooLarge": "{name} ya yi girma sosai. Iyakar ita ce {max}.",
"attachUnsupported": "Ba a goyi bayan {name} ba. Haɗa hotuna (PNG, JPEG, WebP, GIF) ko fayilolin rubutu (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/he.json b/client/src/i18n/locales/he.json
index 9602bd25..a8aebc74 100644
--- a/client/src/i18n/locales/he.json
+++ b/client/src/i18n/locales/he.json
@@ -887,6 +887,7 @@
"maxTokens": "מקסימום טוקנים",
"errorTitle": "הבקשה נכשלה",
"attach": "צירוף קבצים",
+ "addMenu": "Add files and tools",
"attachTooMany": "אפשר לצרף עד {count} קבצים בכל הודעה.",
"attachTooLarge": "{name} גדול מדי. המגבלה היא {max}.",
"attachUnsupported": "{name} אינו נתמך. צרף תמונות (PNG, JPEG, WebP, GIF) או קובצי טקסט (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/hi.json b/client/src/i18n/locales/hi.json
index 6606da88..a50687ad 100644
--- a/client/src/i18n/locales/hi.json
+++ b/client/src/i18n/locales/hi.json
@@ -887,6 +887,7 @@
"maxTokens": "अधिकतम टोकन",
"errorTitle": "अनुरोध विफल",
"attach": "फ़ाइलें संलग्न करें",
+ "addMenu": "Add files and tools",
"attachTooMany": "आप प्रति संदेश अधिकतम {count} फ़ाइलें संलग्न कर सकते हैं।",
"attachTooLarge": "{name} बहुत बड़ी है। सीमा {max} है।",
"attachUnsupported": "{name} समर्थित नहीं है। छवियाँ (PNG, JPEG, WebP, GIF) या टेक्स्ट फ़ाइलें (TXT, MD, CSV, JSON, LOG) संलग्न करें।",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/hr.json b/client/src/i18n/locales/hr.json
index 5d9b55a3..de7bb608 100644
--- a/client/src/i18n/locales/hr.json
+++ b/client/src/i18n/locales/hr.json
@@ -887,6 +887,7 @@
"maxTokens": "Maks. tokena",
"errorTitle": "Zahtjev nije uspio",
"attach": "Priloži datoteke",
+ "addMenu": "Add files and tools",
"attachTooMany": "Po poruci možete priložiti najviše {count} datoteka.",
"attachTooLarge": "Datoteka {name} je prevelika. Ograničenje je {max}.",
"attachUnsupported": "Datoteka {name} nije podržana. Priložite slike (PNG, JPEG, WebP, GIF) ili tekstualne datoteke (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/hu.json b/client/src/i18n/locales/hu.json
index 61eed167..fa7ce1dd 100644
--- a/client/src/i18n/locales/hu.json
+++ b/client/src/i18n/locales/hu.json
@@ -887,6 +887,7 @@
"maxTokens": "Max. tokenszám",
"errorTitle": "Kérés meghiúsult",
"attach": "Fájlok csatolása",
+ "addMenu": "Add files and tools",
"attachTooMany": "Üzenetenként legfeljebb {count} fájlt csatolhatsz.",
"attachTooLarge": "A(z) {name} túl nagy. A korlát {max}.",
"attachUnsupported": "A(z) {name} nem támogatott. Csatolj képeket (PNG, JPEG, WebP, GIF) vagy szövegfájlokat (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/id.json b/client/src/i18n/locales/id.json
index ba0e46e2..0ce1988e 100644
--- a/client/src/i18n/locales/id.json
+++ b/client/src/i18n/locales/id.json
@@ -887,6 +887,7 @@
"maxTokens": "Token maksimum",
"errorTitle": "Permintaan gagal",
"attach": "Lampirkan file",
+ "addMenu": "Add files and tools",
"attachTooMany": "Anda dapat melampirkan hingga {count} file per pesan.",
"attachTooLarge": "{name} terlalu besar. Batasnya adalah {max}.",
"attachUnsupported": "{name} tidak didukung. Lampirkan gambar (PNG, JPEG, WebP, GIF) atau file teks (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/ig.json b/client/src/i18n/locales/ig.json
index de31a20f..40eb2af1 100644
--- a/client/src/i18n/locales/ig.json
+++ b/client/src/i18n/locales/ig.json
@@ -887,6 +887,7 @@
"maxTokens": "Akara kachasị",
"errorTitle": "Arịrịọ agaghị",
"attach": "Tinye faịlụ",
+ "addMenu": "Add files and tools",
"attachTooMany": "Ị nwere ike itinye ihe ruru faịlụ {count} n'ozi ọ bụla.",
"attachTooLarge": "{name} buru ibu nke ukwuu. Oke ya bụ {max}.",
"attachUnsupported": "Anaghị akwado {name}. Tinye onyonyo (PNG, JPEG, WebP, GIF) ma ọ bụ faịlụ ederede (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/it.json b/client/src/i18n/locales/it.json
index 3f301328..6c43ccd1 100644
--- a/client/src/i18n/locales/it.json
+++ b/client/src/i18n/locales/it.json
@@ -887,6 +887,7 @@
"maxTokens": "Token massimi",
"errorTitle": "Richiesta non riuscita",
"attach": "Allega file",
+ "addMenu": "Add files and tools",
"attachTooMany": "Puoi allegare fino a {count} file per messaggio.",
"attachTooLarge": "{name} è troppo grande. Il limite è {max}.",
"attachUnsupported": "{name} non è supportato. Allega immagini (PNG, JPEG, WebP, GIF) o file di testo (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/ja.json b/client/src/i18n/locales/ja.json
index 5c5021ab..7736fd5a 100644
--- a/client/src/i18n/locales/ja.json
+++ b/client/src/i18n/locales/ja.json
@@ -887,6 +887,7 @@
"maxTokens": "最大トークン数",
"errorTitle": "リクエストが失敗しました",
"attach": "ファイルを添付",
+ "addMenu": "Add files and tools",
"attachTooMany": "1 件のメッセージに添付できるファイルは最大 {count} 件です。",
"attachTooLarge": "{name} は大きすぎます。上限は {max} です。",
"attachUnsupported": "{name} はサポートされていません。画像 (PNG、JPEG、WebP、GIF) またはテキスト ファイル (TXT、MD、CSV、JSON、LOG) を添付してください。",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/ka.json b/client/src/i18n/locales/ka.json
index c9f6fdf2..9617e423 100644
--- a/client/src/i18n/locales/ka.json
+++ b/client/src/i18n/locales/ka.json
@@ -887,6 +887,7 @@
"maxTokens": "მაქს. ტოკენები",
"errorTitle": "მოთხოვნა ვერ მოხერხდა",
"attach": "ფაილების მიმაგრება",
+ "addMenu": "Add files and tools",
"attachTooMany": "ერთ შეტყობინებაზე შეგიძლიათ მაქსიმუმ {count} ფაილის მიმაგრება.",
"attachTooLarge": "{name} ძალიან დიდია. ლიმიტია {max}.",
"attachUnsupported": "{name} არ არის მხარდაჭერილი. მიამაგრეთ სურათები (PNG, JPEG, WebP, GIF) ან ტექსტური ფაილები (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/km.json b/client/src/i18n/locales/km.json
index 9e55979a..067ccbef 100644
--- a/client/src/i18n/locales/km.json
+++ b/client/src/i18n/locales/km.json
@@ -887,6 +887,7 @@
"maxTokens": "សញ្ញាអតិបរមា",
"errorTitle": "សំណើបរាជ័យ",
"attach": "ភ្ជាប់ឯកសារ",
+ "addMenu": "Add files and tools",
"attachTooMany": "អ្នកអាចភ្ជាប់ឯកសារបានរហូតដល់ {count} ក្នុងមួយសារ។",
"attachTooLarge": "{name} មានទំហំធំពេក។ ដែនកំណត់គឺ {max}។",
"attachUnsupported": "{name} មិនត្រូវបានគាំទ្រទេ។ ភ្ជាប់រូបភាព (PNG, JPEG, WebP, GIF) ឬឯកសារអត្ថបទ (TXT, MD, CSV, JSON, LOG)។",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/kn.json b/client/src/i18n/locales/kn.json
index 8ae2318b..72e0fcf7 100644
--- a/client/src/i18n/locales/kn.json
+++ b/client/src/i18n/locales/kn.json
@@ -887,6 +887,7 @@
"maxTokens": "ಗರಿಷ್ಠ ಟೋಕನ್‌ಗಳು",
"errorTitle": "ವಿನಂತಿ ವಿಫಲವಾಗಿದೆ",
"attach": "ಫೈಲ್‌ಗಳನ್ನು ಲಗತ್ತಿಸಿ",
+ "addMenu": "Add files and tools",
"attachTooMany": "ಪ್ರತಿ ಸಂದೇಶಕ್ಕೆ ನೀವು ಗರಿಷ್ಠ {count} ಫೈಲ್‌ಗಳನ್ನು ಲಗತ್ತಿಸಬಹುದು.",
"attachTooLarge": "{name} ತುಂಬಾ ದೊಡ್ಡದಾಗಿದೆ. ಮಿತಿ {max} ಆಗಿದೆ.",
"attachUnsupported": "{name} ಬೆಂಬಲಿತವಾಗಿಲ್ಲ. ಚಿತ್ರಗಳನ್ನು (PNG, JPEG, WebP, GIF) ಅಥವಾ ಪಠ್ಯ ಫೈಲ್‌ಗಳನ್ನು (TXT, MD, CSV, JSON, LOG) ಲಗತ್ತಿಸಿ.",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/ko.json b/client/src/i18n/locales/ko.json
index fe7409cd..ffb4a88d 100644
--- a/client/src/i18n/locales/ko.json
+++ b/client/src/i18n/locales/ko.json
@@ -887,6 +887,7 @@
"maxTokens": "최대 토큰",
"errorTitle": "요청 실패",
"attach": "파일 첨부",
+ "addMenu": "Add files and tools",
"attachTooMany": "메시지당 최대 {count}개의 파일을 첨부할 수 있습니다.",
"attachTooLarge": "{name}이(가) 너무 큽니다. 제한은 {max}입니다.",
"attachUnsupported": "{name}은(는) 지원되지 않습니다. 이미지(PNG, JPEG, WebP, GIF) 또는 텍스트 파일(TXT, MD, CSV, JSON, LOG)을 첨부하세요.",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/lt.json b/client/src/i18n/locales/lt.json
index cedd1626..f73ab3fa 100644
--- a/client/src/i18n/locales/lt.json
+++ b/client/src/i18n/locales/lt.json
@@ -887,6 +887,7 @@
"maxTokens": "Daugiausia žetonų",
"errorTitle": "Užklausa atmesta",
"attach": "Pridėti failus",
+ "addMenu": "Add files and tools",
"attachTooMany": "Prie vienos žinutės galite pridėti iki {count} failų.",
"attachTooLarge": "Failas {name} yra per didelis. Riba yra {max}.",
"attachUnsupported": "Failas {name} nepalaikomas. Pridėkite vaizdų (PNG, JPEG, WebP, GIF) arba tekstinių failų (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/ml.json b/client/src/i18n/locales/ml.json
index c4f3e071..ae56507f 100644
--- a/client/src/i18n/locales/ml.json
+++ b/client/src/i18n/locales/ml.json
@@ -887,6 +887,7 @@
"maxTokens": "പരമാവധി ടോക്കണുകൾ",
"errorTitle": "അഭ്യർത്ഥന പരാജയപ്പെട്ടു",
"attach": "ഫയലുകൾ അറ്റാച്ചുചെയ്യുക",
+ "addMenu": "Add files and tools",
"attachTooMany": "ഓരോ സന്ദേശത്തിലും പരമാവധി {count} ഫയലുകൾ വരെ അറ്റാച്ചുചെയ്യാം.",
"attachTooLarge": "{name} വളരെ വലുതാണ്. പരിധി {max} ആണ്.",
"attachUnsupported": "{name} പിന്തുണയ്ക്കുന്നില്ല. ചിത്രങ്ങൾ (PNG, JPEG, WebP, GIF) അല്ലെങ്കിൽ ടെക്സ്റ്റ് ഫയലുകൾ (TXT, MD, CSV, JSON, LOG) അറ്റാച്ചുചെയ്യുക.",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/mr.json b/client/src/i18n/locales/mr.json
index 847ec8d5..023978a1 100644
--- a/client/src/i18n/locales/mr.json
+++ b/client/src/i18n/locales/mr.json
@@ -887,6 +887,7 @@
"maxTokens": "कमाल टोकन",
"errorTitle": "विनंती अयशस्वी",
"attach": "फाइल्स संलग्न करा",
+ "addMenu": "Add files and tools",
"attachTooMany": "तुम्ही प्रति संदेश जास्तीत जास्त {count} फाइल्स संलग्न करू शकता.",
"attachTooLarge": "{name} खूप मोठी आहे. मर्यादा {max} आहे.",
"attachUnsupported": "{name} समर्थित नाही. प्रतिमा (PNG, JPEG, WebP, GIF) किंवा मजकूर फाइल्स (TXT, MD, CSV, JSON, LOG) संलग्न करा.",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/ms.json b/client/src/i18n/locales/ms.json
index 408c52d7..4a5d44ed 100644
--- a/client/src/i18n/locales/ms.json
+++ b/client/src/i18n/locales/ms.json
@@ -887,6 +887,7 @@
"maxTokens": "Token maksimum",
"errorTitle": "Permintaan gagal",
"attach": "Lampirkan fail",
+ "addMenu": "Add files and tools",
"attachTooMany": "Anda boleh melampirkan sehingga {count} fail bagi setiap mesej.",
"attachTooLarge": "{name} terlalu besar. Hadnya ialah {max}.",
"attachUnsupported": "{name} tidak disokong. Lampirkan imej (PNG, JPEG, WebP, GIF) atau fail teks (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/my.json b/client/src/i18n/locales/my.json
index aec9dfb2..2ba5f4e4 100644
--- a/client/src/i18n/locales/my.json
+++ b/client/src/i18n/locales/my.json
@@ -887,6 +887,7 @@
"maxTokens": "အများဆုံး token များ",
"errorTitle": "တောင်းဆိုမှု မအောင်မြင်ပါ",
"attach": "ဖိုင်များ ပူးတွဲပါ",
+ "addMenu": "Add files and tools",
"attachTooMany": "မက်ဆေ့ခ်ျတစ်ခုလျှင် ဖိုင် {count} ခုအထိ ပူးတွဲနိုင်ပါသည်။",
"attachTooLarge": "{name} သည် အရွယ်အစား ကြီးလွန်းသည်။ ကန့်သတ်ချက်မှာ {max} ဖြစ်သည်။",
"attachUnsupported": "{name} ကို မပံ့ပိုးပါ။ ပုံများ (PNG, JPEG, WebP, GIF) သို့မဟုတ် စာသားဖိုင်များ (TXT, MD, CSV, JSON, LOG) ကို ပူးတွဲပါ။",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/ne.json b/client/src/i18n/locales/ne.json
index 2efecfdb..31b7581d 100644
--- a/client/src/i18n/locales/ne.json
+++ b/client/src/i18n/locales/ne.json
@@ -887,6 +887,7 @@
"maxTokens": "अधिकतम टोकन",
"errorTitle": "अनुरोध असफल भयो",
"attach": "फाइलहरू संलग्न गर्नुहोस्",
+ "addMenu": "Add files and tools",
"attachTooMany": "तपाईं प्रति सन्देश {count} वटासम्म फाइल संलग्न गर्न सक्नुहुन्छ।",
"attachTooLarge": "{name} धेरै ठूलो छ। सीमा {max} हो।",
"attachUnsupported": "{name} समर्थित छैन। छवि (PNG, JPEG, WebP, GIF) वा पाठ फाइलहरू (TXT, MD, CSV, JSON, LOG) संलग्न गर्नुहोस्।",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/nl.json b/client/src/i18n/locales/nl.json
index a9f86e7e..64e07d7c 100644
--- a/client/src/i18n/locales/nl.json
+++ b/client/src/i18n/locales/nl.json
@@ -887,6 +887,7 @@
"maxTokens": "Max. tokens",
"errorTitle": "Verzoek afgewezen",
"attach": "Bestanden bijvoegen",
+ "addMenu": "Add files and tools",
"attachTooMany": "Je kunt maximaal {count} bestanden per bericht bijvoegen.",
"attachTooLarge": "{name} is te groot. De limiet is {max}.",
"attachUnsupported": "{name} wordt niet ondersteund. Voeg afbeeldingen (PNG, JPEG, WebP, GIF) of tekstbestanden (TXT, MD, CSV, JSON, LOG) toe.",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/no.json b/client/src/i18n/locales/no.json
index 9a90752a..8b8c8cbf 100644
--- a/client/src/i18n/locales/no.json
+++ b/client/src/i18n/locales/no.json
@@ -887,6 +887,7 @@
"maxTokens": "Maks. tokens",
"errorTitle": "Forespørselen ble avvist",
"attach": "Legg ved filer",
+ "addMenu": "Add files and tools",
"attachTooMany": "Du kan legge ved opptil {count} filer per melding.",
"attachTooLarge": "{name} er for stor. Grensen er {max}.",
"attachUnsupported": "{name} støttes ikke. Legg ved bilder (PNG, JPEG, WebP, GIF) eller tekstfiler (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/or.json b/client/src/i18n/locales/or.json
index ee8721e8..56d67fa7 100644
--- a/client/src/i18n/locales/or.json
+++ b/client/src/i18n/locales/or.json
@@ -887,6 +887,7 @@
"maxTokens": "ସର୍ବାଧିକ ଟୋକେନ୍",
"errorTitle": "ଅନୁରୋଧ ବିଫଳ ହୋଇଛି",
"attach": "ଫାଇଲଗୁଡିକ ସଂଲଗ୍ନ କରନ୍ତୁ",
+ "addMenu": "Add files and tools",
"attachTooMany": "ପ୍ରତି ସନ୍ଦେଶରେ ଆପଣ ସର୍ବାଧିକ {count} ଫାଇଲ୍ ସଂଲଗ୍ନ କରିପାରିବେ।",
"attachTooLarge": "{name} ବହୁତ ବଡ଼। ସୀମା ହେଉଛି {max}।",
"attachUnsupported": "{name} ସମର୍ଥିତ ନୁହେଁ। ଚିତ୍ର (PNG, JPEG, WebP, GIF) କିମ୍ୱା ଟେକ୍ସଟ୍ ଫାଇଲ (TXT, MD, CSV, JSON, LOG) ସଂଲଗ୍ନ କରନ୍ତୁ।",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/pa.json b/client/src/i18n/locales/pa.json
index 7beba94b..8b5766c4 100644
--- a/client/src/i18n/locales/pa.json
+++ b/client/src/i18n/locales/pa.json
@@ -887,6 +887,7 @@
"maxTokens": "ਵੱਧ ਤੋਂ ਵੱਧ ਟੋਕਨ",
"errorTitle": "ਬੇਨਤੀ ਅਸਫਲ ਰਹੀ",
"attach": "ਫਾਈਲਾਂ ਨੱਥੀ ਕਰੋ",
+ "addMenu": "Add files and tools",
"attachTooMany": "ਤੁਸੀਂ ਪ੍ਰਤੀ ਸੁਨੇਹਾ ਵੱਧ ਤੋਂ ਵੱਧ {count} ਫਾਈਲਾਂ ਨੱਥੀ ਕਰ ਸਕਦੇ ਹੋ।",
"attachTooLarge": "{name} ਬਹੁਤ ਵੱਡੀ ਹੈ। ਸੀਮਾ {max} ਹੈ।",
"attachUnsupported": "{name} ਸਮਰਥਿਤ ਨਹੀਂ ਹੈ। ਚਿੱਤਰ (PNG, JPEG, WebP, GIF) ਜਾਂ ਟੈਕਸਟ ਫਾਈਲਾਂ (TXT, MD, CSV, JSON, LOG) ਨੱਥੀ ਕਰੋ।",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/pl.json b/client/src/i18n/locales/pl.json
index 55a8a69b..93504cac 100644
--- a/client/src/i18n/locales/pl.json
+++ b/client/src/i18n/locales/pl.json
@@ -887,6 +887,7 @@
"maxTokens": "Maks. tokenów",
"errorTitle": "Żądanie nie powiodło się",
"attach": "Załącz pliki",
+ "addMenu": "Add files and tools",
"attachTooMany": "W jednej wiadomości możesz załączyć maksymalnie {count} plików.",
"attachTooLarge": "Plik {name} jest za duży. Limit to {max}.",
"attachUnsupported": "{name} nie jest obsługiwany. Załącz obrazy (PNG, JPEG, WebP, GIF) lub pliki tekstowe (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/pt-BR.json b/client/src/i18n/locales/pt-BR.json
index 4477ee17..db5f5a9d 100644
--- a/client/src/i18n/locales/pt-BR.json
+++ b/client/src/i18n/locales/pt-BR.json
@@ -887,6 +887,7 @@
"maxTokens": "Máximo de tokens",
"errorTitle": "A solicitação falhou",
"attach": "Anexar arquivos",
+ "addMenu": "Add files and tools",
"attachTooMany": "Você pode anexar até {count} arquivos por mensagem.",
"attachTooLarge": "{name} é muito grande. O limite é {max}.",
"attachUnsupported": "{name} não é compatível. Anexe imagens (PNG, JPEG, WebP, GIF) ou arquivos de texto (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/pt-PT.json b/client/src/i18n/locales/pt-PT.json
index d7937565..6492f12e 100644
--- a/client/src/i18n/locales/pt-PT.json
+++ b/client/src/i18n/locales/pt-PT.json
@@ -887,6 +887,7 @@
"maxTokens": "Máximo de tokens",
"errorTitle": "Pedido falhado",
"attach": "Anexar ficheiros",
+ "addMenu": "Add files and tools",
"attachTooMany": "Pode anexar até {count} ficheiros por mensagem.",
"attachTooLarge": "{name} é demasiado grande. O limite é {max}.",
"attachUnsupported": "{name} não é suportado. Anexe imagens (PNG, JPEG, WebP, GIF) ou ficheiros de texto (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/ro.json b/client/src/i18n/locales/ro.json
index 4ef1efda..7c6fdca5 100644
--- a/client/src/i18n/locales/ro.json
+++ b/client/src/i18n/locales/ro.json
@@ -887,6 +887,7 @@
"maxTokens": "Jetoane maxime",
"errorTitle": "Cerere eșuată",
"attach": "Atașează fișiere",
+ "addMenu": "Add files and tools",
"attachTooMany": "Poți atașa cel mult {count} fișiere per mesaj.",
"attachTooLarge": "{name} este prea mare. Limita este {max}.",
"attachUnsupported": "{name} nu este acceptat. Atașează imagini (PNG, JPEG, WebP, GIF) sau fișiere text (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/ru.json b/client/src/i18n/locales/ru.json
index 75a5e425..631cb427 100644
--- a/client/src/i18n/locales/ru.json
+++ b/client/src/i18n/locales/ru.json
@@ -887,6 +887,7 @@
"maxTokens": "Макс. токенов",
"errorTitle": "Запрос не выполнен",
"attach": "Прикрепить файлы",
+ "addMenu": "Add files and tools",
"attachTooMany": "К одному сообщению можно прикрепить не более {count} файлов.",
"attachTooLarge": "Файл {name} слишком большой. Лимит — {max}.",
"attachUnsupported": "{name} не поддерживается. Прикрепите изображения (PNG, JPEG, WebP, GIF) или текстовые файлы (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/si.json b/client/src/i18n/locales/si.json
index f2f24f94..0eafbae5 100644
--- a/client/src/i18n/locales/si.json
+++ b/client/src/i18n/locales/si.json
@@ -887,6 +887,7 @@
"maxTokens": "උපරිම ටෝකන",
"errorTitle": "ඉල්ලීම අසාර්ථක විය",
"attach": "ගොනු අමුණන්න",
+ "addMenu": "Add files and tools",
"attachTooMany": "එක් පණිවිඩයකට ගොනු {count}ක් දක්වා අමුණා ගත හැක.",
"attachTooLarge": "{name} ඉතා විශාලයි. සීමාව {max} වේ.",
"attachUnsupported": "{name} සඳහා සහාය නොදක්වයි. රූප (PNG, JPEG, WebP, GIF) හෝ පෙළ ගොනු (TXT, MD, CSV, JSON, LOG) අමුණන්න.",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/sk.json b/client/src/i18n/locales/sk.json
index 38a7e824..81d1f21d 100644
--- a/client/src/i18n/locales/sk.json
+++ b/client/src/i18n/locales/sk.json
@@ -887,6 +887,7 @@
"maxTokens": "Max. tokenov",
"errorTitle": "Žiadosť zlyhala",
"attach": "Priložiť súbory",
+ "addMenu": "Add files and tools",
"attachTooMany": "K jednej správe môžete priložiť najviac {count} súborov.",
"attachTooLarge": "Súbor {name} je príliš veľký. Limit je {max}.",
"attachUnsupported": "Súbor {name} nie je podporovaný. Priložte obrázky (PNG, JPEG, WebP, GIF) alebo textové súbory (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/sr.json b/client/src/i18n/locales/sr.json
index 03e951fa..4c56df91 100644
--- a/client/src/i18n/locales/sr.json
+++ b/client/src/i18n/locales/sr.json
@@ -887,6 +887,7 @@
"maxTokens": "Макс. токена",
"errorTitle": "Захтев није успео",
"attach": "Приложи датотеке",
+ "addMenu": "Add files and tools",
"attachTooMany": "По поруци можете приложити највише {count} датотека.",
"attachTooLarge": "Датотека {name} је превелика. Ограничење је {max}.",
"attachUnsupported": "Датотека {name} није подржана. Приложите слике (PNG, JPEG, WebP, GIF) или текстуалне датотеке (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/sv.json b/client/src/i18n/locales/sv.json
index 60ab6f97..30095e57 100644
--- a/client/src/i18n/locales/sv.json
+++ b/client/src/i18n/locales/sv.json
@@ -887,6 +887,7 @@
"maxTokens": "Max antal tokens",
"errorTitle": "Begäran avvisades",
"attach": "Bifoga filer",
+ "addMenu": "Add files and tools",
"attachTooMany": "Du kan bifoga upp till {count} filer per meddelande.",
"attachTooLarge": "{name} är för stor. Gränsen är {max}.",
"attachUnsupported": "{name} stöds inte. Bifoga bilder (PNG, JPEG, WebP, GIF) eller textfiler (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/sw.json b/client/src/i18n/locales/sw.json
index 68699ccd..4f5b4e0e 100644
--- a/client/src/i18n/locales/sw.json
+++ b/client/src/i18n/locales/sw.json
@@ -887,6 +887,7 @@
"maxTokens": "Kiwango cha juu cha ishara",
"errorTitle": "Ombi halijafaulu",
"attach": "Ambatisha faili",
+ "addMenu": "Add files and tools",
"attachTooMany": "Unaweza kuambatisha hadi faili {count} kwa kila ujumbe.",
"attachTooLarge": "{name} ni kubwa mno. Kikomo ni {max}.",
"attachUnsupported": "{name} haitumiki. Ambatisha picha (PNG, JPEG, WebP, GIF) au faili za maandishi (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/ta.json b/client/src/i18n/locales/ta.json
index 64375746..0d467189 100644
--- a/client/src/i18n/locales/ta.json
+++ b/client/src/i18n/locales/ta.json
@@ -887,6 +887,7 @@
"maxTokens": "அதிகபட்ச டோக்கன்கள்",
"errorTitle": "கோரிக்கை தோல்வியடைந்தது",
"attach": "கோப்புகளை இணைக்கவும்",
+ "addMenu": "Add files and tools",
"attachTooMany": "ஒரு செய்திக்கு அதிகபட்சம் {count} கோப்புகளை இணைக்கலாம்.",
"attachTooLarge": "{name} மிகவும் பெரியது. வரம்பு {max}.",
"attachUnsupported": "{name} ஆதரிக்கப்படவில்லை. படங்களை (PNG, JPEG, WebP, GIF) அல்லது உரைக் கோப்புகளை (TXT, MD, CSV, JSON, LOG) இணைக்கவும்.",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/te.json b/client/src/i18n/locales/te.json
index a2be8f72..08285b72 100644
--- a/client/src/i18n/locales/te.json
+++ b/client/src/i18n/locales/te.json
@@ -887,6 +887,7 @@
"maxTokens": "గరిష్ఠ టోకెన్లు",
"errorTitle": "అభ్యర్థన విఫలమైంది",
"attach": "ఫైల్‌లను జోడించండి",
+ "addMenu": "Add files and tools",
"attachTooMany": "ఒక్కో సందేశానికి మీరు గరిష్టంగా {count} ఫైల్‌లను జోడించవచ్చు.",
"attachTooLarge": "{name} చాలా పెద్దది. పరిమితి {max}.",
"attachUnsupported": "{name} మద్దతు లేదు. చిత్రాలను (PNG, JPEG, WebP, GIF) లేదా టెక్స్ట్ ఫైల్‌లను (TXT, MD, CSV, JSON, LOG) జోడించండి.",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/th.json b/client/src/i18n/locales/th.json
index 4e459395..79d63ce9 100644
--- a/client/src/i18n/locales/th.json
+++ b/client/src/i18n/locales/th.json
@@ -887,6 +887,7 @@
"maxTokens": "โทเค็นสูงสุด",
"errorTitle": "คำขอล้มเหลว",
"attach": "แนบไฟล์",
+ "addMenu": "Add files and tools",
"attachTooMany": "คุณแนบไฟล์ได้สูงสุด {count} ไฟล์ต่อหนึ่งข้อความ",
"attachTooLarge": "{name} มีขนาดใหญ่เกินไป ขีดจำกัดคือ {max}",
"attachUnsupported": "{name} ไม่รองรับ กรุณาแนบรูปภาพ (PNG, JPEG, WebP, GIF) หรือไฟล์ข้อความ (TXT, MD, CSV, JSON, LOG)",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/tl.json b/client/src/i18n/locales/tl.json
index c1e7db59..0ec2a34d 100644
--- a/client/src/i18n/locales/tl.json
+++ b/client/src/i18n/locales/tl.json
@@ -887,6 +887,7 @@
"maxTokens": "Max na token",
"errorTitle": "Nabigo ang kahilingan",
"attach": "Maglakip ng mga file",
+ "addMenu": "Add files and tools",
"attachTooMany": "Puwede kang maglakip ng hanggang {count} file kada mensahe.",
"attachTooLarge": "Masyadong malaki ang {name}. Ang limitasyon ay {max}.",
"attachUnsupported": "Hindi suportado ang {name}. Maglakip ng mga larawan (PNG, JPEG, WebP, GIF) o mga text file (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/tr.json b/client/src/i18n/locales/tr.json
index d8128fae..c51079f4 100644
--- a/client/src/i18n/locales/tr.json
+++ b/client/src/i18n/locales/tr.json
@@ -887,6 +887,7 @@
"maxTokens": "Maks. token",
"errorTitle": "İstek başarısız oldu",
"attach": "Dosya ekle",
+ "addMenu": "Add files and tools",
"attachTooMany": "Her mesajda en fazla {count} dosya ekleyebilirsiniz.",
"attachTooLarge": "{name} çok büyük. Sınır {max}.",
"attachUnsupported": "{name} desteklenmiyor. Görüntü (PNG, JPEG, WebP, GIF) veya metin dosyaları (TXT, MD, CSV, JSON, LOG) ekleyin.",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/uk.json b/client/src/i18n/locales/uk.json
index b28230e5..24232f55 100644
--- a/client/src/i18n/locales/uk.json
+++ b/client/src/i18n/locales/uk.json
@@ -887,6 +887,7 @@
"maxTokens": "Макс. маркерів",
"errorTitle": "Запит не виконано",
"attach": "Прикріпити файли",
+ "addMenu": "Add files and tools",
"attachTooMany": "До одного повідомлення можна прикріпити не більше {count} файлів.",
"attachTooLarge": "Файл {name} завеликий. Обмеження — {max}.",
"attachUnsupported": "{name} не підтримується. Прикріпіть зображення (PNG, JPEG, WebP, GIF) або текстові файли (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/ur.json b/client/src/i18n/locales/ur.json
index 613381ae..5bd99677 100644
--- a/client/src/i18n/locales/ur.json
+++ b/client/src/i18n/locales/ur.json
@@ -887,6 +887,7 @@
"maxTokens": "زیادہ سے زیادہ ٹوکنز",
"errorTitle": "درخواست ناکام ہوگئی",
"attach": "فائلیں منسلک کریں۔",
+ "addMenu": "Add files and tools",
"attachTooMany": "آپ فی پیغام زیادہ سے زیادہ {count} فائلیں منسلک کر سکتے ہیں۔",
"attachTooLarge": "{name} بہت بڑی ہے۔ حد {max} ہے۔",
"attachUnsupported": "{name} سپورٹڈ نہیں ہے۔ تصاویر (PNG، JPEG، WebP، GIF) یا ٹیکسٹ فائلیں (TXT، MD، CSV، JSON، LOG) منسلک کریں۔",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/uz.json b/client/src/i18n/locales/uz.json
index fd951c20..0665d5bc 100644
--- a/client/src/i18n/locales/uz.json
+++ b/client/src/i18n/locales/uz.json
@@ -887,6 +887,7 @@
"maxTokens": "Maksimal belgilar",
"errorTitle": "So‘rov bajarilmadi",
"attach": "Fayllarni biriktirish",
+ "addMenu": "Add files and tools",
"attachTooMany": "Har bir xabarga koʻpi bilan {count} ta fayl biriktirishingiz mumkin.",
"attachTooLarge": "{name} juda katta. Cheklov: {max}.",
"attachUnsupported": "{name} qoʻllab-quvvatlanmaydi. Rasm (PNG, JPEG, WebP, GIF) yoki matnli fayl (TXT, MD, CSV, JSON, LOG) biriktiring.",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/vi.json b/client/src/i18n/locales/vi.json
index de5f2985..91c731f9 100644
--- a/client/src/i18n/locales/vi.json
+++ b/client/src/i18n/locales/vi.json
@@ -887,6 +887,7 @@
"maxTokens": "Số mã thông báo tối đa",
"errorTitle": "Yêu cầu không thành công",
"attach": "Đính kèm tệp",
+ "addMenu": "Add files and tools",
"attachTooMany": "Bạn có thể đính kèm tối đa {count} tệp cho mỗi tin nhắn.",
"attachTooLarge": "{name} quá lớn. Giới hạn là {max}.",
"attachUnsupported": "{name} không được hỗ trợ. Hãy đính kèm hình ảnh (PNG, JPEG, WebP, GIF) hoặc tệp văn bản (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/yo.json b/client/src/i18n/locales/yo.json
index 377c7aca..da8ca7c1 100644
--- a/client/src/i18n/locales/yo.json
+++ b/client/src/i18n/locales/yo.json
@@ -887,6 +887,7 @@
"maxTokens": "Iye ami tó pọ̀ jù",
"errorTitle": "Ibere kuna",
"attach": "Somọ awọn faili",
+ "addMenu": "Add files and tools",
"attachTooMany": "O le somọ to awọn faili {count} fun ifiranṣẹ kọọkan.",
"attachTooLarge": "{name} tobi ju. Ààlà ni {max}.",
"attachUnsupported": "A ko ṣe atilẹyin fun {name}. Somọ awọn aworan (PNG, JPEG, WebP, GIF) tabi awọn faili ọrọ (TXT, MD, CSV, JSON, LOG).",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/zh-CN.json b/client/src/i18n/locales/zh-CN.json
index 0c0419ad..48082bc9 100644
--- a/client/src/i18n/locales/zh-CN.json
+++ b/client/src/i18n/locales/zh-CN.json
@@ -887,6 +887,7 @@
"maxTokens": "最大词元数",
"errorTitle": "请求失败",
"attach": "附加文件",
+ "addMenu": "Add files and tools",
"attachTooMany": "每条消息最多可附加 {count} 个文件。",
"attachTooLarge": "{name} 太大了。上限为 {max}。",
"attachUnsupported": "不支持 {name}。请附加图像(PNG、JPEG、WebP、GIF)或文本文件(TXT、MD、CSV、JSON、LOG)。",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/i18n/locales/zh-TW.json b/client/src/i18n/locales/zh-TW.json
index 9721a68d..1bfbfb7e 100644
--- a/client/src/i18n/locales/zh-TW.json
+++ b/client/src/i18n/locales/zh-TW.json
@@ -887,6 +887,7 @@
"maxTokens": "最大 Token 數",
"errorTitle": "請求失敗",
"attach": "附加檔案",
+ "addMenu": "Add files and tools",
"attachTooMany": "每則訊息最多可附加 {count} 個檔案。",
"attachTooLarge": "{name} 太大了。上限為 {max}。",
"attachUnsupported": "不支援 {name}。請附加圖像(PNG、JPEG、WebP、GIF)或文字檔案(TXT、MD、CSV、JSON、LOG)。",
@@ -1255,8 +1256,7 @@
"playgroundToggle": "Search the web",
"playgroundEngines": "Engines: {chain}",
"playgroundFailed": "Web search failed, answering without it: {reason}",
- "chipOn": "Web search on",
- "chipOff": "Turn off web search",
+ "traceSources": "{count} web sources",
"searched": "Searched the web · {engine} · {count} sources · {latency} ms",
"analyticsByEngine": "Searches by engine",
"analyticsSummary": "Search summary",
diff --git a/client/src/pages/PlaygroundPage.tsx b/client/src/pages/PlaygroundPage.tsx
index 4e1bdbf3..ba90f7d7 100644
--- a/client/src/pages/PlaygroundPage.tsx
+++ b/client/src/pages/PlaygroundPage.tsx
@@ -1,6 +1,6 @@
-import { useState, useRef, useEffect, useMemo, useCallback } from 'react'
+import { useState, useRef, useEffect, useMemo, useCallback, type ReactNode } from 'react'
import { useQuery, useQueryClient } from '@tanstack/react-query'
-import { ChevronRight, CircleAlert, FileText, X } from 'lucide-react'
+import { ChevronRight, CircleAlert, FileText, Globe, X } from 'lucide-react'
import { apiFetch } from '@/lib/api'
import { buildModelOptions } from '@/lib/model-groups'
import type { Chain } from '@/components/chain-manager'
@@ -94,6 +94,23 @@ function fusionRouteLabel(p: { platform: string; model: string }): string {
return p.model.startsWith(`${p.platform}/`) ? p.model : `${p.platform}/${p.model}`
}
+// Smooth show/hide for the Playground's tucked-away detail (thinking, web
+// sources, the fusion panel). The content stays mounted and the row animates
+// from 0fr to 1fr, so it opens to its natural height without measuring;
+// `inert` keeps a closed panel's links out of the tab order.
+function Collapse({ open, children }: { open: boolean; children: ReactNode }) {
+ return (
+ <div
+ data-open={open}
+ className="grid transition-[grid-template-rows,opacity] duration-300 ease-out motion-reduce:transition-none data-[open=false]:opacity-0"
+ style={{ gridTemplateRows: open ? '1fr' : '0fr' }}
+ inert={!open}
+ >
+ <div className="min-h-0 overflow-hidden">{children}</div>
+ </div>
+ )
+}
+
// Collapsible, minimal-font trace shown OUTSIDE the main answer bubble: each
// panel model's raw answer as it streamed in, plus the judge that synthesized
// the final answer. Default-open so you can watch it work; collapse to tuck away.
@@ -122,7 +139,7 @@ function FusionTrace({ panel, judge, streaming, answerStarted }: {
<ChevronRight className={`size-3 transition-transform ${open ? 'rotate-90' : ''}`} />
{t('playground.fusionTrace', { count: panel.length })}{streaming ? ' …' : ''}
</button>
- {open && (
+ <Collapse open={open}>
<div className="mt-1 space-y-2 border-l border-border/60 pl-2.5">
{panel.map((p, i) => (
<div key={i} className="space-y-0.5">
@@ -141,7 +158,7 @@ function FusionTrace({ panel, judge, streaming, answerStarted }: {
</div>
)}
</div>
- )}
+ </Collapse>
</div>
)
}
@@ -150,29 +167,49 @@ function FusionTrace({ panel, judge, streaming, answerStarted }: {
// visual language as FusionTrace (minimal font, muted, hanging rule, chevron
// toggle) and the same behaviour: open while it streams so you can watch the
// model work, auto-collapsing once the answer itself starts.
-function ReasoningTrace({ text, answerStarted }: { text: string; answerStarted?: boolean }) {
+function ReplyTrace({ reasoning, search, answerStarted }: {
+ reasoning?: string
+ search?: WebSearchMeta
+ answerStarted?: boolean
+}) {
const { t } = useI18n()
- const [open, setOpen] = useState(true)
+ // Thinking opens while it streams and tucks away once the answer starts.
+ // Web sources never open on their own: they are there for the curious, so a
+ // searched reply with no thinking starts closed.
+ const [open, setOpen] = useState(() => !!reasoning && !answerStarted)
const touched = useRef(false)
useEffect(() => {
if (answerStarted && !touched.current) setOpen(false)
}, [answerStarted])
+ useEffect(() => {
+ if (reasoning && !answerStarted && !touched.current) setOpen(true)
+ }, [reasoning, answerStarted])
+ const sourceCount = search?.sources.length ?? 0
return (
<div className="mb-2 text-muted-foreground/80">
<button
type="button"
onClick={() => { touched.current = true; setOpen(o => !o) }}
+ aria-expanded={open}
className="inline-flex items-center gap-1 font-mono text-[10px] leading-snug hover:text-foreground transition-colors"
>
- <ChevronRight className={`size-3 transition-transform ${open ? 'rotate-90' : ''}`} />
+ <ChevronRight className={`size-3 transition-transform duration-300 ${open ? 'rotate-90' : ''}`} />
{open ? t('common.hide') : t('common.show')}
+ {sourceCount > 0 && (
+ <span className="inline-flex items-center gap-1 opacity-80">
+ · <Globe className="size-2.5" /> {t('search.traceSources', { count: sourceCount })}
+ </span>
+ )}
</button>
- {open && (
- // Same type as the answer beneath it, size and leading, only quieter.
- <div className="mt-1 whitespace-pre-wrap border-l border-border/60 pl-2.5 text-sm leading-relaxed text-muted-foreground">
- {text}
- </div>
- )}
+ <Collapse open={open}>
+ {search && sourceCount > 0 && <SearchSources search={search} />}
+ {reasoning && (
+ // Same type as the answer beneath it, size and leading, only quieter.
+ <div className="mt-1 whitespace-pre-wrap border-l border-border/60 pl-2.5 text-sm leading-relaxed text-muted-foreground">
+ {reasoning}
+ </div>
+ )}
+ </Collapse>
</div>
)
}
@@ -1080,15 +1117,16 @@ export default function PlaygroundPage() {
</div>
) : msg.role === 'assistant' ? (
<>
- {msg.reasoning && (
- <ReasoningTrace text={msg.reasoning} answerStarted={msg.content.length > 0} />
+ {(msg.reasoning || (msg.meta?.webSearch && msg.meta.webSearch.sources.length > 0)) && (
+ <ReplyTrace
+ reasoning={msg.reasoning}
+ search={msg.meta?.webSearch}
+ answerStarted={msg.content.length > 0}
+ />
)}
<ArtifactHostContext.Provider value={artifactHost}>
<Markdown>{msg.content}</Markdown>
</ArtifactHostContext.Provider>
- {msg.meta?.webSearch && msg.meta.webSearch.sources.length > 0 && (
- <SearchSources search={msg.meta.webSearch} />
- )}
</>
) : (
<div className="whitespace-pre-wrap">{msg.content}</div>
@@ -1245,7 +1283,7 @@ export default function PlaygroundPage() {
loading={loading}
onSend={handleSend}
onAttach={() => fileInputRef.current?.click()}
- labels={{ attach: t('playground.attach'), send: t('playground.send'), sending: t('playground.sending') }}
+ labels={{ add: t('playground.addMenu'), attach: t('playground.attach'), send: t('playground.send'), sending: t('playground.sending') }}
dictation={{
available: transcriptionAvailable,
model: dictationModel,
@@ -1255,9 +1293,13 @@ export default function PlaygroundPage() {
inputRef.current?.focus()
},
}}
- webSearch={webSearchOn
- ? { label: t('search.chipOn'), offLabel: t('search.chipOff'), onDisable: () => updateWebSearch(false) }
- : undefined}
+ webSearch={{
+ enabled: webSearchOn,
+ available: webSearchAvailable,
+ label: t('search.playgroundToggle'),
+ unavailableHint: t('search.playgroundNoKeys'),
+ onToggle: updateWebSearch,
+ }}
/>
</div>
</div>