mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-24 06:45:22 +00:00
fix: hide available_skills section when skill tool is disabled
This commit is contained in:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user