libre-webui 0.45.0 → 0.45.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/backend/dist/utils/decisionProtocol.d.ts.map +1 -1
- package/backend/dist/utils/decisionProtocol.js +3 -1
- package/backend/dist/utils/decisionProtocol.js.map +1 -1
- package/backend/package.json +1 -1
- package/frontend/dist/artifact-runtime/.build-fingerprint +1 -1
- package/frontend/dist/assets/index-MveXWX7i.js +15 -0
- package/frontend/dist/index.html +20 -20
- package/frontend/dist/js/{ArtifactContainer-DCCcjK16.js → ArtifactContainer-BiGwAZkv.js} +1 -1
- package/frontend/dist/js/{ArtifactDemoPage-C-1acgxJ.js → ArtifactDemoPage-Dk6bf2fr.js} +1 -1
- package/frontend/dist/js/{ArtifactSandboxFrame-BXWNhmtI.js → ArtifactSandboxFrame-BMQXP8E8.js} +1 -1
- package/frontend/dist/js/{ArtifactSlideOutPanel-CvfdP_o2.js → ArtifactSlideOutPanel-CNLSDJAJ.js} +1 -1
- package/frontend/dist/js/{AutomationModal-D7qiRMhj.js → AutomationModal-VMrwN5y4.js} +1 -1
- package/frontend/dist/js/{AutomationsPage-v98Ucl9p.js → AutomationsPage-wb5royf_.js} +1 -1
- package/frontend/dist/js/{AvatarUpload-W41SCHKE.js → AvatarUpload-DpeJzlyv.js} +1 -1
- package/frontend/dist/js/{CalendarPage-DkAa61Pa.js → CalendarPage-DeMdx8BD.js} +1 -1
- package/frontend/dist/js/{ChannelsPage-0Vnfpgdr.js → ChannelsPage-DJj_kG1m.js} +1 -1
- package/frontend/dist/js/{ChatPage-iyMY-uoE.js → ChatPage-tJ5_eAbV.js} +2 -2
- package/frontend/dist/js/{ConnectModels-CpWO6ALS.js → ConnectModels-7E_zzkFc.js} +1 -1
- package/frontend/dist/js/{EvaluationsPage-C7WHA1MJ.js → EvaluationsPage-_jLiPYYc.js} +1 -1
- package/frontend/dist/js/{FirstTimeSetup-B8wcelBc.js → FirstTimeSetup-BzSil7F7.js} +1 -1
- package/frontend/dist/js/{GalleryPage-u7dYKl3q.js → GalleryPage-CKpQMmd7.js} +1 -1
- package/frontend/dist/js/{HomePage-Cjlt3b9n.js → HomePage-Dr8mrmo7.js} +1 -1
- package/frontend/dist/js/{LanguageSwitcher-gbTZY15P.js → LanguageSwitcher-BPwDwNez.js} +1 -1
- package/frontend/dist/js/{ModelManagerModals-12hL-b-U.js → ModelManagerModals-eAwih0CC.js} +1 -1
- package/frontend/dist/js/{NotesPage-BQWBA5li.js → NotesPage-DDagHzg0.js} +1 -1
- package/frontend/dist/js/{PasswordStrengthMeter-DdqX0FXA.js → PasswordStrengthMeter-BwgYbk3r.js} +1 -1
- package/frontend/dist/js/{PersonasPage-B8mFdWcX.js → PersonasPage-uFr0Yzes.js} +1 -1
- package/frontend/dist/js/{PluginUsagePage-Uz6aHPIp.js → PluginUsagePage-BfIQuqIV.js} +1 -1
- package/frontend/dist/js/{RichMessageContent-CVk-fp0N.js → RichMessageContent-BY1I7d9d.js} +1 -1
- package/frontend/dist/js/{RichMessageContent-DwMoWuR_.js → RichMessageContent-otmciPPz.js} +1 -1
- package/frontend/dist/js/SettingsModal-D2x0muLa.js +19 -0
- package/frontend/dist/js/{ShareDialog-NwirTDLR.js → ShareDialog-DgVAGGOp.js} +1 -1
- package/frontend/dist/js/{StrandsPage-ddHNdb6J.js → StrandsPage-9UVviZ58.js} +1 -1
- package/frontend/dist/js/{SystemPage-C_1exwI7.js → SystemPage-ChJ8O0MR.js} +1 -1
- package/frontend/dist/js/{UserManagementPanel-hg7ztEtL.js → UserManagementPanel-CYuTltw4.js} +1 -1
- package/frontend/dist/js/{WhatsNewModal-yYk7N4KY.js → WhatsNewModal-DyK_LXtM.js} +1 -1
- package/frontend/dist/js/{WorkPage-i7yYRAuj.js → WorkPage-CdfTyNv_.js} +1 -1
- package/frontend/dist/js/{api-Dasm8tVY.js → api-BPTwf2O4.js} +1 -1
- package/frontend/dist/js/api-Lutao9vm.js +1 -0
- package/frontend/dist/js/{appNavigation-DqP7fTWU.js → appNavigation-DYXehtYu.js} +1 -1
- package/frontend/dist/js/{appStore-DCIUnT8X.js → appStore-C_SBNGJT.js} +2 -2
- package/frontend/dist/js/appVersion-C5-Afzj1.js +1 -0
- package/frontend/dist/js/{ar-CsCftCVF.js → ar-CMnK2iUi.js} +1 -1
- package/frontend/dist/js/authStore-6cAmoXEk.js +1 -0
- package/frontend/dist/js/{authStore-ac5-hjOH.js → authStore-Tu09JYbR.js} +3 -3
- package/frontend/dist/js/{bn-CvxUTZ9a.js → bn-B_6kDlG3.js} +1 -1
- package/frontend/dist/js/{chatStore-GhucyjJu.js → chatStore-wi8VDo6B.js} +3 -3
- package/frontend/dist/js/{client-DxPoTB_C.js → client-Czyqg89i.js} +2 -2
- package/frontend/dist/js/{config-CQJEcQtz.js → config-DWmMmE_t.js} +1 -1
- package/frontend/dist/js/{cs-BovmMwcD.js → cs-DN4IeMBM.js} +1 -1
- package/frontend/dist/js/{da-Dof1gmsv.js → da-Cx-BiRSz.js} +1 -1
- package/frontend/dist/js/{de-CF9CXojW.js → de-Cwlx8oC5.js} +1 -1
- package/frontend/dist/js/{decisionsApi-BWB64EGn.js → decisionsApi-CftWDIPz.js} +1 -1
- package/frontend/dist/js/decisionsApi-Dneh1e4n.js +1 -0
- package/frontend/dist/js/{es-BXCt50HZ.js → es-DGOk1LTg.js} +1 -1
- package/frontend/dist/js/{evaluationsApi-CBqKkjmI.js → evaluationsApi-C5DC-61t.js} +1 -1
- package/frontend/dist/js/{fr-B5QcCDIw.js → fr-DsjFEubC.js} +1 -1
- package/frontend/dist/js/{hi-BXYwSyKl.js → hi-YoyZTSWi.js} +1 -1
- package/frontend/dist/js/{id-BV3mY5L7.js → id-D7ObCsR9.js} +1 -1
- package/frontend/dist/js/{is-BDK4LrQC.js → is-DRfnKDHX.js} +1 -1
- package/frontend/dist/js/{it-DAeWl1Fm.js → it-Cb4C73dp.js} +1 -1
- package/frontend/dist/js/{ja-DIJV01rA.js → ja-DsDfWEWn.js} +1 -1
- package/frontend/dist/js/{ko-Btr9-64X.js → ko-J9IK9O8f.js} +1 -1
- package/frontend/dist/js/{messageCodeStyles-BugWE4s5.js → messageCodeStyles-DbG-nHEj.js} +1 -1
- package/frontend/dist/js/modelPresentation-4QU9r-Pl.js +1 -0
- package/frontend/dist/js/{ms-DgVmv5zF.js → ms-DVZBQWu-.js} +1 -1
- package/frontend/dist/js/{nl-Dz5HpdLi.js → nl-CotrV0Lb.js} +1 -1
- package/frontend/dist/js/{pl-CIATY2b0.js → pl-DlsgTT5q.js} +1 -1
- package/frontend/dist/js/{pt-lrDXX76Y.js → pt-B8F-CAdb.js} +1 -1
- package/frontend/dist/js/{ru-_zovUYcg.js → ru-B7H_WJLM.js} +1 -1
- package/frontend/dist/js/{strandsApi-Ck7FrcHH.js → strandsApi-c_sLVTzl.js} +1 -1
- package/frontend/dist/js/{sv-TkRDWCb8.js → sv-iYQWY_4T.js} +1 -1
- package/frontend/dist/js/{teamEventStream-O3qGbUZz.js → teamEventStream-Bnna_p2v.js} +1 -1
- package/frontend/dist/js/{th-CQyavDiP.js → th-BIlkYCg9.js} +1 -1
- package/frontend/dist/js/{tr-CBcFl4_Z.js → tr-Cb0GxFvG.js} +1 -1
- package/frontend/dist/js/{ui-DxaHE9GD.js → ui-Byzdw4-Y.js} +2 -2
- package/frontend/dist/js/{ui-vendor-DsURZnZt.js → ui-vendor-C7v9zeJX.js} +1 -1
- package/frontend/dist/js/{uk-BNn1cUt8.js → uk-BH7Ojiob.js} +1 -1
- package/frontend/dist/js/{useChat-1HyAPpCk.js → useChat-DGCDsOOs.js} +1 -1
- package/frontend/dist/js/useDictation-BGys860H.js +1 -0
- package/frontend/dist/js/{vi-Be8GO7e_.js → vi-BKN3n9CC.js} +1 -1
- package/frontend/dist/js/{workApi-BNGRSv7q.js → workApi-BTdJF6o5.js} +1 -1
- package/frontend/dist/js/workApi-DvXvzA8C.js +1 -0
- package/frontend/dist/js/{zh-9CUKyYw5.js → zh-CbiVZpr_.js} +1 -1
- package/package.json +1 -1
- package/frontend/dist/assets/index-C2A5Ko4-.js +0 -59
- package/frontend/dist/js/SettingsModal-CfjxNSmJ.js +0 -19
- package/frontend/dist/js/api-BU13N8gU.js +0 -1
- package/frontend/dist/js/appVersion-PJGaVilS.js +0 -1
- package/frontend/dist/js/authStore-Bp17zKvS.js +0 -1
- package/frontend/dist/js/decisionsApi-CoJtg4PZ.js +0 -1
- package/frontend/dist/js/thinking-DwlkTfPX.js +0 -1
- package/frontend/dist/js/useDictation-B3vNgs5D.js +0 -1
- package/frontend/dist/js/workApi-C5jw1ra6.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{i as t,t as n}from"./react-vendor-C1iE8mnY.js";import{a as r}from"./utils-BXRzbHJC.js";import{t as i}from"./useTranslation-CKqEdZ8j.js";import{t as a}from"./logger-DAQsBb8I.js";import{t as o}from"./appStore-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{i as t,t as n}from"./react-vendor-C1iE8mnY.js";import{a as r}from"./utils-BXRzbHJC.js";import{t as i}from"./useTranslation-CKqEdZ8j.js";import{t as a}from"./logger-DAQsBb8I.js";import{t as o}from"./appStore-C_SBNGJT.js";import{An as s,En as c,Jn as l,Nn as u,Or as d,Rn as f,Yn as p,er as m}from"./ui-vendor-C7v9zeJX.js";var h=e(t(),1),g={selection:8,impact:14,success:[10,28,12],warning:[18,42,18]},_=()=>typeof window>`u`||typeof navigator>`u`?!1:navigator.maxTouchPoints>0||window.matchMedia?.(`(pointer: coarse)`).matches===!0,v=()=>typeof navigator<`u`&&typeof navigator.vibrate==`function`&&_(),y=(e=`selection`)=>o.getState().preferences.hapticFeedbackEnabled!==!0||!v()?!1:navigator.vibrate(g[e]),b=[/^ {0,3}(?:`{3,}|~{3,})/m,/`[^`\n]+`/,/^\s{0,3}#{1,6}\s/m,/^\s{0,3}[-*+]\s/m,/^\s{0,3}\d+\.\s/m,/^\s{0,3}>\s/m,/\[[^\]]+\]\([^)]+\)/,/!\[[^\]]*]\([^)]+\)/,/\|.*\|/,/\*\*[^*]+\*\*/,/__[^_]+__/,/~~[^~]+~~/,/\\\[[\s\S]*?\\\]/,/\\\([\s\S]*?\\\)/,/\$\$[\s\S]*?\$\$/,/(^|[^$])\$[^$\n]+\$/],x=e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);function S(e){let t=[],n=/^( {0,3})(`{3,}|~{3,})([^\n\r]*)(?:\r?\n|$)/gm,r;for(;r=n.exec(e);){let i=r[1].length,a=r[2],o=a[0],s=r[3].trim();if(o==="`"&&s.includes("`"))continue;let c=n.lastIndex,l=RegExp(`^ {0,3}${x(o)}{${a.length},}[ \\t]*(?:\\r?\\n|$)`,`gm`);l.lastIndex=c;let u=l.exec(e),d=s.split(/\s+/)[0]||null;if(!u){t.push({start:r.index,end:e.length,codeStart:c,codeEnd:e.length,indent:i,language:d,complete:!1});break}t.push({start:r.index,end:l.lastIndex,codeStart:c,codeEnd:u.index,indent:i,language:d,complete:!0}),n.lastIndex=l.lastIndex}return t}function C(e){return/<(?:html|head|body)(?:\s|>)|<\/(?:head|body|html)\s*>/i.test(e)}function w(e,t){return e.start<t.end&&t.start<e.end}function T(e,t){let n=/^( {0,3})(<!doctype\s+html(?:\s|>|$)|<html(?:\s[^>\n\r]*)?>)/gim,r;for(;r=n.exec(e);){let n=r.index+r[1].length;if(t.some(e=>n>=e.start&&n<e.end))continue;let i=e.slice(n);if(!C(i.slice(r[2].length)))continue;let a=/<\/html\s*>/i.exec(i),o=a?n+a.index+a[0].length:e.length;return{start:r.index,end:o,codeStart:n,codeEnd:o,indent:0,language:`html`,complete:!!a}}return null}function E(e){let t=S(e),n=T(e,t);return n?[...t.filter(e=>!w(e,n)),n].sort((e,t)=>e.start-t.start):t}function D(e,t){return t===0?e:e.replace(RegExp(`^ {1,${t}}`,`gm`),``)}function O(e){return b.some(t=>t.test(e))}function k(e){let t=[],n=E(e),r=0;for(let i of n){let n=e.slice(r,i.start);n&&t.push({type:`text`,content:n}),t.push({type:`code`,language:i.language,content:D(e.slice(i.codeStart,i.codeEnd),i.indent),complete:i.complete}),r=i.end}let i=e.slice(r);return(i||t.length===0)&&t.push({type:`text`,content:i}),t}function A(e){let t=e=>e.replace(/(^|[^\\$])\$(?=\d)/g,`$1\\$`).replace(/\\\[([\s\S]*?)\\\]/g,(e,t)=>`$$${t}$$`).replace(/\\\(([\s\S]*?)\\\)/g,(e,t)=>`$${t}$`),n=e=>{let n=/`[^`\n]+`/g,r=``,i=0,a;for(;a=n.exec(e);)r+=t(e.slice(i,a.index)),r+=a[0],i=n.lastIndex;return r+t(e.slice(i))},r=S(e),i=``,a=0;for(let t of r)i+=n(e.slice(a,t.start)),i+=e.slice(t.start,t.end),a=t.end;return i+=n(e.slice(a)),i}var j=n(),M=a(`components:ui:message-code-block`),N=24,P={bash:`sh`,c:`c`,cpp:`cpp`,csharp:`cs`,css:`css`,go:`go`,html:`html`,htm:`html`,java:`java`,javascript:`js`,js:`js`,json:`json`,jsx:`jsx`,kotlin:`kt`,markdown:`md`,mermaid:`mmd`,php:`php`,python:`py`,py:`py`,ruby:`rb`,rust:`rs`,sh:`sh`,shell:`sh`,sql:`sql`,svg:`svg`,swift:`swift`,toml:`toml`,ts:`ts`,tsx:`tsx`,typescript:`ts`,xml:`xml`,yaml:`yaml`,yml:`yaml`,zsh:`sh`};function F(e,t){let n=(e||``).toLowerCase();if(n===`html`||n===`htm`)return`html`;if(n===`svg`)return`svg`;if(n===`mermaid`)return`mermaid`;let r=t.slice(0,500).toLowerCase();return(!n||n===`xml`)&&r.includes(`<svg`)?`svg`:!n&&(r.includes(`<!doctype html`)||r.includes(`<html`))?`html`:null}function I({code:e,language:t,state:n,children:a}){let{t:g}=i(),_=o(e=>e.openArtifactPanel),[v,b]=h.useState(null),[x,S]=h.useState(null),C=h.useRef(null),w=v===e,T=t||`text`,E=g(w?`artifacts.copied`:`artifacts.copy`),D=`${E}: ${T}`,O=h.useMemo(()=>e?e.split(`
|
|
2
2
|
`).length:0,[e]),k=x===null?n===`complete`&&O>N:!x,A=n===`complete`?F(t,e):null;return h.useEffect(()=>()=>{C.current!==null&&window.clearTimeout(C.current)},[]),(0,j.jsxs)(`div`,{dir:`ltr`,"data-testid":`code-block`,"data-state":n,"data-language":T,"data-collapsed":k,className:`group relative my-4 overflow-hidden rounded-xl border border-line bg-surface-subtle text-left text-ink shadow-[0_12px_32px_rgba(13,17,23,0.1)] dark:border-white/10 dark:bg-dark-50 dark:text-dark-900 dark:shadow-[0_12px_32px_rgba(13,17,23,0.16)]`,children:[(0,j.jsxs)(`div`,{className:`flex h-10 items-center justify-between border-b border-line bg-surface-raised/70 px-3.5 dark:border-white/10 dark:bg-white/[0.035]`,children:[(0,j.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2`,children:[(0,j.jsx)(f,{className:`h-3.5 w-3.5 shrink-0 text-ink-subtle dark:text-dark-500`}),(0,j.jsx)(`span`,{className:`truncate font-mono text-[11px] font-medium lowercase tracking-[-0.01em] text-ink-muted dark:text-dark-700`,children:T})]}),(0,j.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[n===`streaming`&&(0,j.jsx)(`span`,{role:`status`,"aria-label":g(`common.loading`),className:`flex h-7 w-7 items-center justify-center`,children:(0,j.jsx)(`span`,{className:`h-1.5 w-1.5 animate-pulse rounded-full bg-primary-400`})}),O>N&&(0,j.jsx)(`button`,{type:`button`,onClick:()=>S(k),className:`flex h-7 w-7 items-center justify-center rounded-md text-ink-subtle transition-colors hover:bg-surface-subtle hover:text-ink focus:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-400/70 dark:text-dark-500 dark:hover:bg-white/8 dark:hover:text-dark-900`,title:g(k?`artifacts.expand`:`artifacts.collapse`),"aria-label":g(k?`artifacts.expand`:`artifacts.collapse`),"aria-expanded":!k,children:k?(0,j.jsx)(l,{className:`h-3.5 w-3.5`}):(0,j.jsx)(p,{className:`h-3.5 w-3.5`})}),(0,j.jsx)(`button`,{type:`button`,onClick:()=>{if(!e)return;let n=P[(t||``).toLowerCase()]||`txt`,r=new Blob([e],{type:`text/plain;charset=utf-8`}),i=URL.createObjectURL(r),a=document.createElement(`a`);a.href=i,a.download=`snippet.${n}`,document.body.appendChild(a),a.click(),a.remove(),URL.revokeObjectURL(i)},disabled:!e,className:`flex h-7 w-7 items-center justify-center rounded-md text-ink-subtle transition-colors hover:bg-surface-subtle hover:text-ink focus:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-400/70 disabled:cursor-default disabled:opacity-35 dark:text-dark-500 dark:hover:bg-white/8 dark:hover:text-dark-900`,title:g(`common.download`),"aria-label":`${g(`common.download`)}: ${T}`,children:(0,j.jsx)(s,{className:`h-3.5 w-3.5`})}),A&&(0,j.jsx)(`button`,{type:`button`,onClick:()=>{if(!A||!e)return;let t=Date.now();_({id:r(),type:A,title:`${T} ${g(`artifacts.preview`)}`,content:e,language:T,createdAt:t,updatedAt:t})},className:`flex h-7 w-7 items-center justify-center rounded-md text-ink-subtle transition-colors hover:bg-surface-subtle hover:text-ink focus:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-400/70 dark:text-dark-500 dark:hover:bg-white/8 dark:hover:text-dark-900`,title:g(`artifacts.preview`),"aria-label":`${g(`artifacts.preview`)}: ${T}`,children:(0,j.jsx)(c,{className:`h-3.5 w-3.5`})}),(0,j.jsx)(`button`,{type:`button`,onClick:async()=>{if(e)try{await navigator.clipboard.writeText(e),y(`success`),b(e),C.current!==null&&window.clearTimeout(C.current),C.current=window.setTimeout(()=>{b(null),C.current=null},2e3)}catch(e){M.error(`Failed to copy code:`,e),d.error(g(`chat.message.copyFailed`))}},disabled:!e,className:`flex h-7 w-7 items-center justify-center rounded-md text-ink-subtle transition-colors hover:bg-surface-subtle hover:text-ink focus:outline-hidden focus-visible:ring-2 focus-visible:ring-primary-400/70 disabled:cursor-default disabled:opacity-35 dark:text-dark-500 dark:hover:bg-white/8 dark:hover:text-dark-900`,title:E,"aria-label":D,children:w?(0,j.jsx)(m,{className:`h-3.5 w-3.5 text-green-400`}):(0,j.jsx)(u,{className:`h-3.5 w-3.5`})}),(0,j.jsx)(`span`,{className:`sr-only`,"aria-live":`polite`,children:w?D:``})]})]}),k?(0,j.jsx)(`button`,{type:`button`,onClick:()=>S(!0),className:`block w-full px-3.5 py-2.5 text-left font-mono text-[11px] italic text-ink-subtle transition-colors hover:bg-surface-raised/70 hover:text-ink dark:text-dark-500 dark:hover:bg-white/[0.035] dark:hover:text-dark-900`,children:g(`chatMessage.hiddenLines`,{count:O})}):a]})}var L=`rgb(var(--color-dark-50))`,R=`rgb(var(--color-surface-subtle))`,z=`max-h-[60vh] min-h-12 overflow-auto bg-surface-subtle p-4 text-left font-mono text-[14px] leading-6 text-ink whitespace-pre tabular-nums dark:bg-dark-50 dark:text-dark-900`,B={maxHeight:`60vh`,minHeight:`3rem`,overflow:`auto`,padding:`1rem`,fontSize:`14px`,lineHeight:`1.5rem`,fontFamily:`"JetBrains Mono", ui-monospace, SFMono-Regular, monospace`,whiteSpace:`pre`};export{I as a,O as c,B as i,y as l,R as n,k as o,z as r,A as s,L as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=[`default`,`off`,`on`,`low`,`medium`,`high`];function t(e){return e==null?`default`:e===!0?`on`:e===!1?`off`:e}function n(e){switch(e){case`on`:return!0;case`off`:return!1;case`low`:case`medium`:case`high`:return e;default:return null}}function r(e){return e!=null&&e!==!1}function i(e){return e.isLegacySelection?e.name:e.isPersona?e.personaName||e.name:e.isAgent&&e.agentName||e.name}function a(e,t){return e.isLegacySelection?t(`modelSelector.legacyProvider`):e.isPersona?t(`settings.model.persona`):e.isAgent?t(`common.agent`):e.isPlugin?e.pluginName||e.pluginId||t(`common.provider`):`Ollama`}function o(e,t,n=`parentheses`){let r=i(e),o=a(e,t),s=e.isUnavailable?t(`modelSelector.unavailable`):``;return n===`separator`?`${r} · ${o}${s?` (${s})`:``}`:`${r} (${o}${s?`, ${s}`:``})`}var s=new Set([`all`,`general`,`coding`,`reasoning`,`vision`,`embedding`,`decision`,`cloud`]);function c(e,t){return s.has(e)?t(`modelSelector.libraryCategories.${e}`):e.charAt(0).toUpperCase()+e.slice(1)}export{e as a,n as c,a as i,i as n,r as o,o as r,t as s,c as t};
|