Run new agent in parallel
For standalone agents
# for SQL project
forest projects:bundle:sql "aFolderName"
# or for No SQL project
forest projects:bundle:nosql "aFolderName"For in-app agents
createAgent({
// ... [other options]
// Change mounting point
prefix: '/new-agent',
// Change schema path to ensure both agents don't overwrite each other schemas
schemaPath: 'new-agent/.forestadmin-schema.json',
// Change the authSecret and envSecret so that the two agents show as two different
// projects in the Forest Admin UI
authSecret: process.env.TEMPORARY_FOREST_AUTH_SECRET,
envSecret: process.env.TEMPORARY_FOREST_ENV_SECRET,
});
Last updated