feat(evaluator): let customers set the judge model config (inferenceConfig, reasoning, additionalModelRequestFields)
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 55/100
- Type d'issue
- Fonctionnalité
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- aws, typescript
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- TypeScript
- Étoiles
- 339
- Forks
- 129
- Merge moyen
- 19 h 21 min
- PR mergées (30 j)
- 125
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de aws/agentcore-cli
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
aws/agentcore-cli#2940 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
aws/agentcore-cli#2939 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
aws/agentcore-cli#2938 ·
Les mainteneurs répondent en général sous 1 jour
-
invoke: CUSTOM_JWT runtime errors discard the response body and error type (e.g. "Token has expired")Peut-être pris @n1dhruv l’a pris il y a 6 jours. Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
aws/agentcore-cli#2875 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
--debug has no effect; service error name, HTTP status and request ID never reach the terminalPeut-être pris @abhiramshaji-cyber l’a pris il y a 3 jours. Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
aws/agentcore-cli#2874 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de aws/agentcore-cli
Issues similaires
-
manually bump balena-preload to ^19.0.6Peut-être pris @shaunmulligan l’a pris aujourd’hui. Ouverte
Difficulté 1/5 1-3 heures Accessibilité débutants 66/100
balena-io/balena-cli#3200 ·
Les mainteneurs répondent en général sous 1 jour
-
`MaterializedChatMessage._text` is quadratic in the number of text chunks (`+=` followed by `endsWith`), driving the extension host to heap OOMPeut-être pris @olegius88 l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 79/100
microsoft/vscode-prompt-tsx#205 ·
-
triage
Difficulté 1/5 Moins d'une heure Accessibilité débutants 64/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
melgarafael/DeskcommCRM#5340 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
ehmpathy/rhachet-roles-ehmpathy#1529 ·
Les mainteneurs répondent en général sous 1 jour