UNPKG

@just-every/ensemble

Version:

LLM provider abstraction layer with unified streaming interface

19 lines 582 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.exportAgent = exportAgent; 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