fix: agent casing issue (#2081)

This commit is contained in:
Aiden Cline 2025-08-19 18:08:56 -05:00 committed by GitHub
commit 5b05ede748
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,7 +64,7 @@ export namespace Config {
if (agentFolderPath.includes("/")) { if (agentFolderPath.includes("/")) {
const relativePath = agentFolderPath.replace(".md", "") const relativePath = agentFolderPath.replace(".md", "")
const pathParts = relativePath.split("/") const pathParts = relativePath.split("/")
agentName = pathParts.slice(0, -1).join("/").toUpperCase() + "/" + pathParts[pathParts.length - 1].toUpperCase() agentName = pathParts.slice(0, -1).join("/") + "/" + pathParts[pathParts.length - 1]
} }
const config = { const config = {