Add customizable prompts and per-scenario LLM config overrides (#52)#53
Merged
Conversation
Add the ability to customize judge and synthetic user behavior through:
- extra_instructions that augment the default prompts
- Per-scenario LLM configuration overrides
- Separate LLM configs for judge and synthetic_user (already existed but
now properly documented and supported with scenario-level overrides)
Configuration priority (highest to lowest):
1. CLI arguments
2. Scenario-level config (from scenario YAML)
3. Component-specific config (judge:, synthetic_user:)
4. Shared LLM config (llm:)
5. Defaults
Extra instructions are appended from all levels (not replaced).
Example global config (mcprobe.yaml):
judge:
model: gpt-4o-mini
extra_instructions: |
Be lenient about formatting differences.
Example per-scenario override:
config:
judge:
model: gpt-4o
extra_instructions: |
This scenario requires exact precision.
richardkiene
added a commit
that referenced
this pull request
Jan 23, 2026
Adds documentation for features from PR #53: - Add extra_instructions field to LLMConfig table in configuration reference - Document extra_instructions usage with examples - Add config section to scenario format schema - Document ScenarioConfig and ScenarioLLMOverride fields - Add per-scenario configuration examples - Update complete example to include config section
3 tasks
richardkiene
added a commit
that referenced
this pull request
Jan 23, 2026
Adds documentation for features from PR #53: - Add extra_instructions field to LLMConfig table in configuration reference - Document extra_instructions usage with examples - Add config section to scenario format schema - Document ScenarioConfig and ScenarioLLMOverride fields - Add per-scenario configuration examples - Update complete example to include config section
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add the ability to customize judge and synthetic user behavior through:
extra_instructionsthat augment the default promptsConfiguration Priority (highest to lowest)
judge:,synthetic_user:)llm:)Note:
extra_instructionsare appended from all levels (not replaced).Example Usage
Global Config (
mcprobe.yaml)Per-Scenario Override
Changes
extra_instructionsfield toLLMConfigmodelScenarioLLMOverrideandScenarioConfigto scenario modelconfigsection toTestScenarioresolve_llm_configto handle scenario-level overridesLLMDefaultsdataclass to avoid too-many-arguments lint issueTest plan
Closes #52