UNPKG

eve

Version:

Filesystem-first framework for durable backend AI agents that run anywhere.

1 lines 663 B
const MODEL_CONNECTION_ENV=`EVE_MODEL_CONNECTION`,MODEL_HELPERS={chatgpt:{module:`eve/models/openai`,prefix:`chatgpt/`,defaultModel:`gpt-5.6-luna-fast`,provider:`codex`},openai:{module:`eve/models/openai`,prefix:`openai-api/`,defaultModel:`gpt-5.6-luna-fast`,provider:`openai`},anthropic:{module:`eve/models/anthropic`,prefix:`anthropic-api/`,defaultModel:`claude-sonnet-5`,provider:`anthropic`}};function parseModelHelper(e){for(let t of Object.keys(MODEL_HELPERS)){let{prefix:n}=MODEL_HELPERS[t];if(e.startsWith(n)){let r=e.slice(n.length);if(r&&r===r.trim()&&!r.includes(`/`))return{helper:t,id:r}}}}export{MODEL_CONNECTION_ENV,MODEL_HELPERS,parseModelHelper};