Skip to content

Commit 51d7817

Browse files
xumapleclaude
andcommitted
Fix run commands to include --group langsmith-tracing
Without the group flag, uv resolves the base temporalio dep (1.23.0) which doesn't have contrib.langsmith. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f955e5b commit 51d7817

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

langsmith_tracing/basic/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ See the [parent README](../README.md) for prerequisites.
88

99
```bash
1010
# Terminal 1 — start the worker
11-
python -m langsmith_tracing.basic.worker
11+
uv run --group langsmith-tracing python -m langsmith_tracing.basic.worker
1212

1313
# Terminal 2 — run the workflow
14-
python -m langsmith_tracing.basic.starter
14+
uv run --group langsmith-tracing python -m langsmith_tracing.basic.starter
1515
```
1616

1717
## Trace Structure
@@ -32,8 +32,8 @@ Basic LLM Request (@traceable, client-side)
3232
Pass `--add-temporal-runs` to both the worker and starter:
3333

3434
```bash
35-
python -m langsmith_tracing.basic.worker --add-temporal-runs
36-
python -m langsmith_tracing.basic.starter --add-temporal-runs
35+
uv run --group langsmith-tracing python -m langsmith_tracing.basic.worker --add-temporal-runs
36+
uv run --group langsmith-tracing python -m langsmith_tracing.basic.starter --add-temporal-runs
3737
```
3838

3939
Temporal operation spans are added. `StartWorkflow` and `RunWorkflow` are siblings under the client root; `StartActivity` and `RunActivity` are siblings under the workflow:

langsmith_tracing/chatbot/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ See the [parent README](../README.md) for prerequisites.
88

99
```bash
1010
# Terminal 1 — start the worker
11-
python -m langsmith_tracing.chatbot.worker
11+
uv run --group langsmith-tracing python -m langsmith_tracing.chatbot.worker
1212

1313
# Terminal 2 — interactive CLI
14-
python -m langsmith_tracing.chatbot.starter
14+
uv run --group langsmith-tracing python -m langsmith_tracing.chatbot.starter
1515
```
1616

1717
Commands in the CLI:

0 commit comments

Comments
 (0)