mirror of
https://github.com/sst/opencode.git
synced 2025-08-22 05:54:08 +00:00
fix: agent casing issue
This commit is contained in:
parent
4032426185
commit
64385a94a0
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue