feat: add Agent Skills support (#5921)

This commit is contained in:
Dax
2025-12-21 19:44:56 -05:00
committed by GitHub
parent cb8af962cd
commit 8fe0715928
5 changed files with 473 additions and 1 deletions

View File

@@ -532,7 +532,11 @@ export namespace SessionPrompt {
agent,
abort,
sessionID,
system: [...(await SystemPrompt.environment()), ...(await SystemPrompt.custom())],
system: [
...(await SystemPrompt.environment()),
...(await SystemPrompt.skills()),
...(await SystemPrompt.custom()),
],
messages: [
...MessageV2.toModelMessage(sessionMessages),
...(isLastStep