Skip to content

fix: remote evals drop org context for playground added scorers - #781

Open
Barrett Pyke (barrettpyke) wants to merge 1 commit into
mainfrom
barrettpyke/bt-org-name-remote
Open

Barrett Pyke (barrettpyke) wants to merge 1 commit into
mainfrom
barrettpyke/bt-org-name-remote

Conversation

@barrettpyke

Copy link
Copy Markdown
Contributor

Description

For users with access to multiple organizations, a scorer added in the Playground UI can run under a different org’s AI-provider configuration because we don't include the x-bt-org-name header in the request to function/invoke.

Steps to reproduce and additional context in below Linear.

Linear

Fix

Send x-bt-org-name header in make_scorer.

Testing

Added regression test and verified the steps to reproduce are resolved by the change locally.

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.

1 participant