feat(evaluator): let customers set the judge model config (inferenceConfig, reasoning, additionalModelRequestFields)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 55/100
- Issue-Typ
- Feature
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- aws, typescript
Rechercherichtung
Start by tracing evaluator configuration in agentcore.json, the agentcore add evaluator command, and the direct LLM-as-a-Judge create and update commands; the issue names no source files or tests. Check the schema and provider-specific API model shapes, then follow how configuration reaches the deployed template and API request. Done means both provider configurations pass through as specified, omitted configuration preserves current behavior, and the requested schema, flag, and template tests pass.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Description
Customers can't tune the judge model of an LLM-as-a-Judge evaluator from the CLI. The API's modelConfig supports these fields:
bedrockEvaluatorModelConfig:inferenceConfig(maxTokens,temperature,topP,stopSequences) andadditionalModelRequestFieldsresponsesEvaluatorModelConfig:maxOutputTokens,temperature,topP,reasoning.effort
What the CLI does today:
| Path | What it sends |
|---|---|
Project (agentcore.json, agentcore add evaluator, deployed by the L3 constructs) |
Always maxTokens/maxOutputTokens 4096 and temperature 0. Nothing else. |
Direct (agentcore eval evaluator llm-as-a-judge create) |
Bedrock: the model ID only. OpenResponses: always maxOutputTokens 4096 and temperature 0. |
Direct (agentcore eval evaluator llm-as-a-judge update) |
Keeps the evaluator's existing values. Can't change them. |
This blocks real use cases:
- Multi-dimension evaluators (#2785) need more output tokens. Each dimension's rating and explanation is roughly 100 to 250 tokens, so an evaluator with many dimensions gets cut off at 4,096 tokens. When that happens, every dimension fails with a parsing error that doesn't mention the token limit.
- Temperature can't be turned off. On the project path it's always sent, even for judge models that don't accept it.
- Reasoning effort and model-specific request fields can't be set at all.
Acceptance Criteria
-
agentcore.jsonaccepts an optionalevaluators[].config.llmAsAJudge.modelConfigin the API's shape: exactly one ofbedrockEvaluatorModelConfigorresponsesEvaluatorModelConfig, passed through as-is. - The
modelConfigarm must matchmodelProvider. IfmodelConfigincludesmodelId, it must equalmodel. -
agentcore add evaluatorandagentcore eval evaluator llm-as-a-judge create/updateaccept--model-config. It takes JSON inline,file://<path>, or-for stdin, the same as--rating-scale. - On
update,--model-configreplaces the tuning fields. Leaving it out keeps the evaluator's current values. - When
modelConfigisn't set, the deployed template and the API request don't change, so upgrading the CLI doesn't update existing evaluators. -
--helpand the docs give an example per provider. They note that a higher token limit makes long judge responses slower and can turn a cut-off into a timeout. - Tests cover the schema, both flags, and the synthesized template for both providers.
Additional Context
- Needs the matching L3 change. This replaces aws/agentcore-l3-cdk-constructs#315 and #1973, which only cover
maxTokens/temperature/topPfor Bedrock. - Changing an evaluator's model config updates it in place. The update is rejected while an enabled online evaluation uses the evaluator, so customers need to pause that online evaluation first.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 339
- Forks
- 129
- Ø Merge
- 19 Std. 21 Min.
- Gemergte PRs (30 T.)
- 125
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus aws/agentcore-cli
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
aws/agentcore-cli#2940 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
aws/agentcore-cli#2939 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
aws/agentcore-cli#2938 ·
Maintainer antworten meist innerhalb von 1 Tag
-
invoke: CUSTOM_JWT runtime errors discard the response body and error type (e.g. "Token has expired")Evtl. vergeben @n1dhruv hat das vor 6 Tagen übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
aws/agentcore-cli#2875 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
--debug has no effect; service error name, HTTP status and request ID never reach the terminalEvtl. vergeben @abhiramshaji-cyber hat das vor 3 Tagen übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
aws/agentcore-cli#2874 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in aws/agentcore-cli
Ähnliche Issues
-
manually bump balena-preload to ^19.0.6Evtl. vergeben @shaunmulligan hat das heute übernommen. Offen
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 66/100
balena-io/balena-cli#3200 ·
Maintainer antworten meist innerhalb von 1 Tag
-
`MaterializedChatMessage._text` is quadratic in the number of text chunks (`+=` followed by `endsWith`), driving the extension host to heap OOMEvtl. vergeben @olegius88 hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 79/100
microsoft/vscode-prompt-tsx#205 ·
-
triage
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 64/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
melgarafael/DeskcommCRM#5340 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
ehmpathy/rhachet-roles-ehmpathy#1529 ·
Maintainer antworten meist innerhalb von 1 Tag