diff --git a/agent/src/index.ts b/agent/src/index.ts index 3b39e741f5..cb580eed77 100644 --- a/agent/src/index.ts +++ b/agent/src/index.ts @@ -70,7 +70,7 @@ export async function loadCharacters( ): Promise { let characterPaths = charactersArg?.split(",").map((filePath) => { if (path.basename(filePath) === filePath) { - filePath = "./characters/" + filePath; + filePath = "../characters/" + filePath; } return path.resolve(process.cwd(), filePath.trim()); });