Commit e3b9106
Add Strands tools and agents instrumentation. (#1563)
* Add baseline instrumentation.
* Add tool and agent instrumentation.
* Add tests file.
* Cleanup instrumentation.
* Cleanup.
Co-authored-by: Tim Pansino <tpansino@newrelic.com>
* [MegaLinter] Apply linters fixes
* Strands Mock Model (#1551)
* Add strands to tox.ini
* Add mock models for strands testing
* Add simple test file to validate strands mocking
* Add baseline instrumentation.
* Add tool and agent instrumentation.
* Add tests file.
* Cleanup instrumentation.
* Cleanup.
Co-authored-by: Tim Pansino <tpansino@newrelic.com>
* Handle additional args in mock model.
* Add test to force exception and exercise _handle_tool_streaming_completion_error.
* Strands Mock Model (#1551)
* Add strands to tox.ini
* Add mock models for strands testing
* Add simple test file to validate strands mocking
* Add baseline instrumentation.
* Add tool and agent instrumentation.
* Add tests file.
* Cleanup instrumentation.
* Cleanup.
Co-authored-by: Tim Pansino <tpansino@newrelic.com>
* Handle additional args in mock model.
* Strands Mock Model (#1551)
* Add strands to tox.ini
* Add mock models for strands testing
* Add simple test file to validate strands mocking
* Add baseline instrumentation.
* Add tool and agent instrumentation.
* Cleanup.
Co-authored-by: Tim Pansino <tpansino@newrelic.com>
* [MegaLinter] Apply linters fixes
* Add test to force exception and exercise _handle_tool_streaming_completion_error.
* Implement strands context passing instrumentation.
* Address review feedback.
* [MegaLinter] Apply linters fixes
* Remove test_simple.py file.
---------
Co-authored-by: Tim Pansino <tpansino@newrelic.com>
Co-authored-by: Timothy Pansino <11214426+TimPansino@users.noreply.github.com>
Co-authored-by: Tim Pansino <timpansino@gmail.com>1 parent 7c3f5ac commit e3b9106
File tree
12 files changed
+1004
-52
lines changed- newrelic
- api
- common
- hooks
- tests
- mlmodel_strands
- testing_support
- validators
12 files changed
+1004
-52
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | | - | |
47 | | - | |
48 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
49 | 61 | | |
50 | | - | |
51 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
52 | 67 | | |
53 | | - | |
| 68 | + | |
54 | 69 | | |
55 | 70 | | |
56 | | - | |
| 71 | + | |
57 | 72 | | |
58 | 73 | | |
59 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2946 | 2946 | | |
2947 | 2947 | | |
2948 | 2948 | | |
| 2949 | + | |
| 2950 | + | |
| 2951 | + | |
| 2952 | + | |
| 2953 | + | |
| 2954 | + | |
| 2955 | + | |
2949 | 2956 | | |
2950 | 2957 | | |
2951 | 2958 | | |
| |||
0 commit comments