Run new agent in parallel
For standalone agents
For in-app agents
createAgent({
// ... [other options]
// Change mounting point
prefix: '/new-agent',
// Change schema path to ensure that the two 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