-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
Using dataset on Braintrust::Eval.run raises Braintrust::Error: HTTP 303 error.
Gem version: tested on 0.1.2 and 0.1.1
Is it because I'm passing the state to Braintrust::Eval.run? I have multiple projects running in the same codebase, that's why I don't rely on the global state.
Code snippet that caused the issue:
Braintrust::Eval.run(
project: project_name,
experiment: experiment_name,
dataset: { name: dataset_name, project: project_name }
state: braintrust_state,
scorers: [Braintrust::Eval::Functions.scorer(project: project_name, slug: slug, state: braintrust_state)
task: ->(input) { ... },
parallelism: 10
)Even using the direct API access resulted in the same error:
api = Braintrust::API.new(state: state)
metadata = api.datasets.get(project_name: project_name, name: dataset_name)Full error message:
Braintrust::Error:
HTTP 303 for POST https://api.braintrust.dev/btql: See Other. Redirecting to https://bt3subnets-3-lambdaresponsesbucket-[REDACTED].s3.us-east-1.amazonaws.com/responses/2026-02-12/[REDACTED].jsonl.gz?[REDACTED]&x-id=GetObject
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working