From 775d0f3ec70f180428a7ca7459f05b8aecf659ba Mon Sep 17 00:00:00 2001 From: Brian Strauch Date: Wed, 19 Aug 2026 15:08:25 -0700 Subject: [PATCH 1/3] Use uv add for Braintrust installation --- docs/develop/python/integrations/braintrust.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/develop/python/integrations/braintrust.mdx b/docs/develop/python/integrations/braintrust.mdx index 2e147fb0de..0f37e1b537 100644 --- a/docs/develop/python/integrations/braintrust.mdx +++ b/docs/develop/python/integrations/braintrust.mdx @@ -56,7 +56,7 @@ Follow the steps below to configure your Worker. 1. Install the Braintrust SDK with Temporal support. ```bash - uv pip install "braintrust[temporal]" + uv add "braintrust[temporal]" ``` 2. Initialize the Braintrust logger before creating your Worker. The logger must be initialized first so that spans are From b8f315603be1f31c2632561d6dadf27490f60e73 Mon Sep 17 00:00:00 2001 From: Brian Strauch Date: Wed, 19 Aug 2026 15:16:21 -0700 Subject: [PATCH 2/3] Run Braintrust Worker with uv --- docs/develop/python/integrations/braintrust.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/develop/python/integrations/braintrust.mdx b/docs/develop/python/integrations/braintrust.mdx index 0f37e1b537..f3fc41b65e 100644 --- a/docs/develop/python/integrations/braintrust.mdx +++ b/docs/develop/python/integrations/braintrust.mdx @@ -103,7 +103,7 @@ Follow the steps below to configure your Worker. ```bash export BRAINTRUST_API_KEY="your-api-key" - python worker.py + uv run worker.py ``` :::tip From 1f4c00c890f576d213dd2871dd23dd75d2238a75 Mon Sep 17 00:00:00 2001 From: Brian Strauch Date: Wed, 19 Aug 2026 15:17:35 -0700 Subject: [PATCH 3/3] Run Braintrust example scripts with uv --- docs/develop/python/integrations/braintrust.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/develop/python/integrations/braintrust.mdx b/docs/develop/python/integrations/braintrust.mdx index f3fc41b65e..c25f109b0b 100644 --- a/docs/develop/python/integrations/braintrust.mdx +++ b/docs/develop/python/integrations/braintrust.mdx @@ -266,8 +266,8 @@ temporal server start-dev export BRAINTRUST_API_KEY="your-api-key" export OPENAI_API_KEY="your-api-key" export BRAINTRUST_PROJECT="deep-research" -uv run python -m worker +uv run worker.py # Terminal 3: Run a research query -uv run python -m start_workflow "What are the latest advances in quantum computing?" +uv run start_workflow.py "What are the latest advances in quantum computing?" ```