Commit c783f0c
fix: address thread-safety issues in framework integrations
- Replace shared _step_stack with parent_run_id approach in LangChain
- Use proper locking and parent-child relationships from framework callbacks
- Replace time.time() with UUID for unique IDs in LlamaIndex
- Remove unused _context_to_step tracking in Semantic Kernel
- Maintain thread-safe access patterns for concurrent executions
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent ca69d27 commit c783f0c
4 files changed
Lines changed: 410 additions & 352 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | | - | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
24 | | - | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | | - | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
33 | | - | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | | - | |
| 39 | + | |
0 commit comments