Skip to content

Commit cd8cbef

Browse files
committed
Merge remote-tracking branch 'upstream/main' into agent-tasks/671
2 parents 85aa305 + efa7651 commit cd8cbef

File tree

8 files changed

+34
-7
lines changed

8 files changed

+34
-7
lines changed

.github/dependabot.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm"
9+
directory: "/"
10+
schedule:
11+
interval: "daily"
12+
open-pull-requests-limit: 100
13+
commit-message:
14+
prefix: ci
15+
- package-ecosystem: "github-actions"
16+
directory: "/"
17+
schedule:
18+
interval: "daily"
19+
open-pull-requests-limit: 100
20+
commit-message:
21+
prefix: ci

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup Node.js
2222
uses: actions/setup-node@v4
2323
with:
24-
node-version: '20'
24+
node-version: '22'
2525

2626
- name: Install dependencies
2727
run: npm install

.github/workflows/deploy-github-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Node.js
2020
uses: actions/setup-node@v4
2121
with:
22-
node-version: '20'
22+
node-version: '22'
2323

2424
- name: Install dependencies
2525
run: npm install

.github/workflows/docs-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Set up Node.js
6262
uses: actions/setup-node@v4
6363
with:
64-
node-version: '20'
64+
node-version: '22'
6565

6666
- name: Install dependencies
6767
run: npm install

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.19.5
1+
v22.12.0

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,16 @@
4848
"turndown": "^7.2.2",
4949
"turndown-plugin-gfm": "^1.0.2",
5050
"typedoc": "^0.28.14",
51-
"typescript": "^5.9.3"
51+
"typescript": "^5.9.3",
52+
"vite": "^8.0.0"
5253
},
5354
"devDependencies": {
54-
"@astrojs/starlight": "^0.37.3",
55+
"@astrojs/starlight": "^0.38.1",
5556
"@types/js-yaml": "^4.0.9",
5657
"@types/mdast": "^4.0.4",
5758
"@types/node": "^24.10.1",
5859
"acorn": "^8.14.0",
59-
"astro": "^5.6.1",
60+
"astro": "^6.0.5",
6061
"js-yaml": "^4.1.1",
6162
"pino": "^9.7.0",
6263
"pino-pretty": "^13.0.0",

src/content/docs/user-guide/concepts/model-providers/amazon-bedrock.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,10 @@ When a guardrail is triggered:
511511
- Output redaction (disabled by default): If a guardrail policy is triggered, the output is redacted
512512
- Custom redaction messages can be specified for both input and output redactions
513513

514+
:::note[Latest Message Evaluation]
515+
When `guardLatestUserMessage: true`, only the most recent user message is sent to guardrails for evaluation instead of the entire conversation. This can improve performance and reduce costs in multi-turn conversations where earlier messages have already been validated.
516+
:::
517+
514518
</Tab>
515519
</Tabs>
516520

src/content/docs/user-guide/concepts/model-providers/amazon-bedrock.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,7 @@ async function guardrailsExample() {
409409
output: false, // Default: false
410410
outputMessage: '[Assistant output redacted.]', // Custom redaction message
411411
},
412+
guardLatestUserMessage: true, // Only evaluate the latest user message (default: false)
412413
},
413414
})
414415

0 commit comments

Comments
 (0)