Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
git submodule init
git submodule update --init --recursive
cd sdk
git remote set-url origin https://github.com/braintrustdata/braintrust-sdk.git
git remote set-url origin https://github.com/braintrustdata/braintrust-sdk-javascript.git
git fetch origin
git checkout ${{ github.event.pull_request.head.sha }}

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Development container for braintrust-sdk-ruby
# Development container for braintrust-sdk-javascript
FROM debian:trixie-slim

# Set UTF-8 locale
Expand Down
2 changes: 1 addition & 1 deletion integrations/browser-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/braintrustdata/braintrust-sdk.git",
"url": "git+https://github.com/braintrustdata/braintrust-sdk-javascript.git",
"directory": "sdk/integrations/browser-js"
},
"homepage": "https://www.braintrust.dev/docs",
Expand Down
2 changes: 1 addition & 1 deletion integrations/val.town/vals/tutorial/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The Braintrust SDK enables you to:
- Run comprehensive evaluations using the `Eval` framework
- Track and improve your model's performance over time

This template helps you get started with the Braintrust SDK. It's based on our [official GitHub repository](https://github.com/braintrustdata/braintrust-sdk).
This template helps you get started with the Braintrust SDK. It's based on our [official GitHub repository](https://github.com/braintrustdata/braintrust-sdk-javascript).

## Getting started

Expand Down
2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "SDK for integrating Braintrust",
"repository": {
"type": "git",
"url": "git+https://github.com/braintrustdata/braintrust-sdk.git",
"url": "git+https://github.com/braintrustdata/braintrust-sdk-javascript.git",
"directory": "blob/main/js"
},
"homepage": "https://www.braintrust.dev/docs",
Expand Down
4 changes: 2 additions & 2 deletions js/scripts/push-release-tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ done
# Fetch latest tags
git fetch --tags --prune

REPO_URL="https://github.com/braintrustdata/braintrust-sdk"
REPO_URL="https://github.com/braintrustdata/braintrust-sdk-javascript"
TAG_PREFIX="js-sdk-v"
COMMIT=$(git rev-parse --short HEAD)

Expand Down Expand Up @@ -98,5 +98,5 @@ git push origin "$TAG"

echo ""
echo "Tag ${TAG} has been created and pushed to origin. Check GitHub Actions for build progress:"
echo "https://github.com/braintrustdata/braintrust-sdk/actions/workflows/publish-js-sdk.yaml"
echo "https://github.com/braintrustdata/braintrust-sdk-javascript/actions/workflows/publish-js-sdk.yaml"
echo ""
2 changes: 1 addition & 1 deletion js/src/node/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* for running evaluations, logging completions, loading and invoking functions, and more.
*
* `braintrust` is distributed as a [library on NPM](https://www.npmjs.com/package/braintrust).
* It is also open source and available on [GitHub](https://github.com/braintrustdata/braintrust-sdk/tree/main/js).
* It is also open source and available on [GitHub](https://github.com/braintrustdata/braintrust-sdk-javascript/tree/main/js).
*
* ### Quickstart
*
Expand Down
2 changes: 1 addition & 1 deletion js/src/wrappers/ai-sdk/ai-sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export function wrapAISDK<T>(aiSDK: T, options: WrapAISDKOptions = {}): T {
// These cause Proxy invariant violations because we return wrapped functions instead
// of the original values. Using prototype chain preserves all properties (enumerable
// and non-enumerable) while avoiding invariants since the target has no own properties.
// See: https://github.com/braintrustdata/braintrust-sdk/pull/1259
// See: https://github.com/braintrustdata/braintrust-sdk-javascript/pull/1259
const target = isModuleNamespace(aiSDK)
? Object.setPrototypeOf({}, aiSDK)
: aiSDK;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "braintrust-sdk-js",
"version": "0.0.1",
"repository": "https://github.com/braintrustdata/braintrust-sdk",
"repository": "https://github.com/braintrustdata/braintrust-sdk-javascript",
"license": "MIT",
"private": true,
"workspaces": [
Expand Down
2 changes: 1 addition & 1 deletion scripts/claude-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"

# Docker container label
DOCKER_LABEL="braintrust-sdk"
DOCKER_LABEL="braintrust-sdk-javascript"

COMMAND="${1:-}"

Expand Down
4 changes: 2 additions & 2 deletions scripts/create-integration-test-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ fi
git submodule init
git submodule update --init --recursive
cd sdk
git remote set-url origin https://github.com/braintrustdata/braintrust-sdk.git
git remote set-url origin https://github.com/braintrustdata/braintrust-sdk-javascript.git
git fetch origin

# Create a temporary branch to avoid detached HEAD state
Expand All @@ -66,7 +66,7 @@ git checkout "$COMMIT_HASH"
# Get commit author and PR number
COMMIT_AUTHOR=$(git log -1 --format='%an <%ae>')
PR_NUMBER=$(gh pr list --head "$BRANCH_NAME" --json number --jq '.[0].number')
SDK_PR_URL="https://github.com/braintrustdata/braintrust-sdk/pull/${PR_NUMBER}"
SDK_PR_URL="https://github.com/braintrustdata/braintrust-sdk-javascript/pull/${PR_NUMBER}"

cd ..
git add sdk
Expand Down
Loading