Skip to content

feat: Allow associating created prompts with environments#1489

Merged
Luca Forstner (lforst) merged 4 commits intomainfrom
lforst/prompt-environments
Mar 13, 2026
Merged

feat: Allow associating created prompts with environments#1489
Luca Forstner (lforst) merged 4 commits intomainfrom
lforst/prompt-environments

Conversation

@lforst
Copy link
Member

Depends on https://github.com/braintrustdata/braintrust/pull/11412

Allows to do

const project = braintrust.projects.create({ name: "my-project" });

project.prompts.create({
    // ...
    environments: ["test-env"],
});

@lforst Luca Forstner (lforst) marked this pull request as ready for review March 4, 2026 22:57
@lforst Luca Forstner (lforst) marked this pull request as draft March 4, 2026 22:58
@lforst Luca Forstner (lforst) marked this pull request as ready for review March 12, 2026 15:34
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😎

@lforst Luca Forstner (lforst) merged commit 0bb4a31 into main Mar 13, 2026
42 checks passed
@lforst Luca Forstner (lforst) deleted the lforst/prompt-environments branch March 13, 2026 10:49
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