"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1926,7182,804,822],{81799:function(e,l,n){n.d(l,{A:function(){return d}});var s=n(85893),t=n(2338),a=n(34041),r=n(19284),c=n(25675),i=n.n(c),u=n(67294),o=n(67421);function d(e,l){var n;let{width:t,height:a}=l||{};return e?(0,s.jsx)(i(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:t||24,height:a||24,src:(null===(n=r.H[e])||void 0===n?void 0:n.icon)||"/models/huggingface.svg",alt:"llm"}):null}l.Z=function(e){let{onChange:l}=e,{t:n}=(0,o.$G)(),{modelList:c,model:i}=(0,u.useContext)(t.p);return!c||c.length<=0?null:(0,s.jsx)(a.default,{value:i,placeholder:n("choose_model"),className:"w-52",onChange:e=>{null==l||l(e)},children:c.map(e=>{var l;return(0,s.jsx)(a.default.Option,{children:(0,s.jsxs)("div",{className:"flex items-center",children:[d(e),(0,s.jsx)("span",{className:"ml-2",children:(null===(l=r.H[e])||void 0===l?void 0:l.label)||e})]})},e)})})}}}]);