mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: hide available_skills section when skill tool is disabled
This commit is contained in:
parent
a9542e282c
commit
22375fb7ef
1 changed files with 1 additions and 1 deletions
|
|
@ -534,7 +534,7 @@ export namespace SessionPrompt {
|
|||
sessionID,
|
||||
system: [
|
||||
...(await SystemPrompt.environment()),
|
||||
...(await SystemPrompt.skills(agent.name)),
|
||||
...(tools.skill ? await SystemPrompt.skills(agent.name) : []),
|
||||
...(await SystemPrompt.custom()),
|
||||
],
|
||||
messages: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue