import{aa as a}from"./_applist-tangy-colts-beg-36.js";import{_ as o}from"./main-tangy-colts-beg.js";import{h as n,s as m}from"./machine.-tangy-colts-beg-869.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const s=a(({helpers:e})=>({states:{components:[{componentName:e.componentName.mixInput,helperText:o("Enter key"),id:"memory-key",label:o("Key"),onChange:"SET_MEMORY_KEY",path:"memoryKey",render:!0,value:[]},{componentName:e.componentName.mixInput,helperText:o("How many past interactions the model receives as context"),id:"context-length",label:o("Context Window Length"),onChange:"SET_CONTEXT_LENGTH",path:"contextLength",render:!0,value:[{type:"string",value:"5"}]}]},actions:{ON_MACHINE_LOAD:({$:t})=>{m(t,[{db:"memoryKey",id:"memory-key"},{db:"contextLength",id:"context-length"}])},SET_CONTEXT_LENGTH:n("contextLength"),SET_MEMORY_KEY:n("memoryKey")}}));export{s as default};
