import{C as r}from"./index-p1BAR2Hc.js";async function a(i,t){if(t.some(e=>e.model_type==="text"&&!!e.model_id))return t;const s=i.models.find(e=>e.model_type==="text");return s?(await r.saveUserModelConfig("script_analysis","text",s.id),r.userModelConfigs("script_analysis")):t}export{a as e};
