Explorar el Código

fix: agent casing issue (#2081)

Aiden Cline hace 6 meses
padre
commit
5b05ede748
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/opencode/src/config/config.ts

+ 1 - 1
packages/opencode/src/config/config.ts

@@ -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 = {