From f29c5ee7793ad45f958f4680cdec2224229768b0 Mon Sep 17 00:00:00 2001 From: jariy17 Date: Fri, 21 Aug 2026 17:31:30 +0000 Subject: [PATCH] fix(online-eval): --agent help says runtime, not harness/runtime Only runtimes are valid online-eval targets end-to-end: the project superRefine builds agentNames from spec.runtimes, and the CDK construct resolves config.agent against the runtime-only environments map, so a harness name always fails. Correct the help text to match. Related: aws/agentcore-l3-cdk-constructs#335 --- src/handlers/project/add/online-eval/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers/project/add/online-eval/index.ts b/src/handlers/project/add/online-eval/index.ts index 13b2ea3dc..6fb31cf3a 100644 --- a/src/handlers/project/add/online-eval/index.ts +++ b/src/handlers/project/add/online-eval/index.ts @@ -13,7 +13,7 @@ export const createAddOnlineEvalHandler = (config: AddProjectResourceConfig) => flag("name", "the name of the online evaluation config", z.string().optional()), flag( "agent", - "harness/runtime name whose traffic to sample (mutually exclusive with --log-group-name)", + "runtime name whose traffic to sample (mutually exclusive with --log-group-name)", z.string().optional(), ), flag(