Skip to content

Commit 1a533f7

Browse files
committed
doctor: align tool cap agent paths
1 parent 57a2220 commit 1a533f7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/flows/doctor-health-contributions.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,7 @@ describe("doctor health contributions", () => {
13041304
expect.objectContaining({
13051305
checkId: "core/doctor/tool-result-cap",
13061306
path: "agents.defaults.contextLimits.toolResultMaxChars",
1307-
target: "agents.writer",
1307+
target: "agents.list.writer",
13081308
}),
13091309
]),
13101310
});

src/flows/doctor-health-contributions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -823,9 +823,9 @@ async function collectToolResultCapFindings(
823823
path:
824824
entry.contextLimits?.toolResultMaxChars === undefined
825825
? "agents.defaults.contextLimits.toolResultMaxChars"
826-
: `agents.${normalizedAgentId}.contextLimits.toolResultMaxChars`,
826+
: `agents.list.${normalizedAgentId}.contextLimits.toolResultMaxChars`,
827827
scopeLabel: `agent "${normalizedAgentId}"`,
828-
target: `agents.${normalizedAgentId}`,
828+
target: `agents.list.${normalizedAgentId}`,
829829
});
830830
}
831831
if (targets.length === 0) {

0 commit comments

Comments
 (0)