UNPKG

@just-every/ensemble

Version:

LLM provider abstraction layer with unified streaming interface

16 lines 477 B
export function exportAgent(agent, model) { const agentExport = typeof agent.export === 'function' ? agent.export() : { agent_id: agent.agent_id, name: agent.name, model: agent.model, modelClass: agent.modelClass, parent_id: agent.parent_id, cwd: agent.cwd, }; if (model) agentExport.model = model; return agentExport; } //# sourceMappingURL=agent_export.js.map