Applies to:
- Plan:
- Deployment:
project_id parameters instead of project names in SDK initialization and environment variables.
project_id parameters instead of project names in SDK initialization and environment variables.
# Before (using name - creates duplicate after rename)
braintrust.init(project="my-project-name")
# After (using ID - stable across renames)
braintrust.init(project_id="proj_abc123xyz")
// Before (using name - creates duplicate after rename)
braintrust.init({ project: "my-project-name" });
// After (using ID - stable across renames)
braintrust.init({ projectId: "proj_abc123xyz" });
Was this page helpful?