mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-30 03:54:59 +00:00
fix: ENAMETOOLONG: name too long when adding custom mode (#881)
This commit is contained in:
parent
26fd76fbee
commit
dfbef066c7
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ export namespace Mode {
|
|||
providerID,
|
||||
}
|
||||
}
|
||||
if (value.prompt) item.prompt = await Bun.file(value.prompt).text()
|
||||
if (value.prompt) item.prompt = value.prompt
|
||||
if (value.tools) item.tools = value.tools
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue