Skip to content

FEAT: Adding Temporary Instance Creation from the Registry - #3030

Open
Richard Lundeen (richlundeen) wants to merge 5 commits into
microsoft:mainfrom
richlundeen:richlundeen-temporary-component-settings
Open

Richard Lundeen (richlundeen) wants to merge 5 commits into
microsoft:mainfrom
richlundeen:richlundeen-temporary-component-settings

Conversation

@richlundeen

@richlundeen Richard Lundeen (richlundeen) commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Description

This PR adds support for creating targets, converters, and scorers without adding them to a registry.

For example, say a user wants to change settings for one conversation or conversion without changing shared registry entries. Temporary instances support those changes without adding a registry entry for every variant.

I added two changes to the GUI of when this is useful already (but have some bigger arcs in mind)

Example 1: When starting a new attack, you can modify the temperature without modify the registered target

a_temp_ribbon

Example 2: You can modify an existing converter without adding it into the registry. E.g. change a language from Spanish to French without adding a whole other converter

a_temp_converter

The backend adds support by using the existing "create" endpoints accept register: false and use registry construction without registration. Source-based overrides, saved target recipes, and scoped converter previews reuse this path.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Correct declared constructor capture, clear temporary overrides, and guard runtime readiness during target preparation. Refine converter controls and move chat settings into a separate ribbon.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Constrain target mocks to PromptTarget so optional source attributes are not created implicitly. Cover shared-source request pacing and lock replacement across event loops.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep temporary component lifecycle and upstream dynamic target parameter metadata.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d9a40875-faa1-48ad-bf6b-8d49a4ad7eb8
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d9a40875-faa1-48ad-bf6b-8d49a4ad7eb8
@hannahwestra25 hannahwestra25 self-assigned this Oct 8, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants