fix: hide available_skills section when skill tool is disabled
parent
a9542e282c
commit
22375fb7ef
|
|
@ -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…
Reference in New Issue