Skip to content

Commit 7fc9a10

Browse files
committed
Update activation fields in system prompts to include singular and plural forms
1 parent c985516 commit 7fc9a10

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/src/content/docs/reference/scripts/system.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ system({
821821
description:
822822
"GitHub Actions workflows support annotations ([Read more...](https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-error-message)).",
823823
lineNumbers: true,
824-
activation: ["annotations", "warnings", "errors"],
824+
activation: ["annotation", "annotations", "warnings", "errors"],
825825
})
826826

827827
export default function (ctx: ChatGenerationContext) {
@@ -3991,6 +3991,7 @@ system({
39913991
title: "Read resource content from a URL using MCP resource resolution",
39923992
description:
39933993
"Provides a tool that can read and return the content of resources from URLs using the host's resolveResource function. Supports various protocols including https, file, git, gist, and vscode.",
3994+
activation: ["resource", "resources"],
39943995
});
39953996
39963997
export default function (ctx: ChatGenerationContext) {

0 commit comments

Comments
 (0)