Commit e381a36
Switched langchain llm callbacks to use genai utils handler (#3889)
* Removed telemetry from inference callbacks and added calls to genai utils apis instead.
* Fixed errors
* Fixed typecheck errors
* Fixed typecheck errors
* Fixed precommit errors
* added util dependancy
* updated invocation manager
* removed unnecessary dependancies
* fixed precommit
* fixed typecheck
* fixed precommit
* fixed test
* removed unnecessary line
* addressed comments
* fixed errors
* fixed precommit
* removed get_property_value method
* fixed format
* Make tox -e typecheck install langchain, and fixed some of the type
errors. The remaining ones seem like real issues that need to be fixed.
* Please fix reportPossiblyUnboundVariable
* fixed typecheck
* added and updated tests
* Fixed conflicts and removed unnecessary changes
* Fixed precommit
---------
Co-authored-by: aaronabbott <aaronabbott@google.com>1 parent e01a4c1 commit e381a36
File tree
17 files changed
+4461
-3770
lines changed- instrumentation-genai/opentelemetry-instrumentation-langchain
- examples/manual
- src/opentelemetry/instrumentation/langchain
- tests
- cassettes
- util/opentelemetry-util-genai
- src/opentelemetry/util/genai
17 files changed
+4461
-3770
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | | - | |
31 | 29 | | |
32 | 30 | | |
33 | 31 | | |
| |||
Lines changed: 7 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | | - | |
52 | | - | |
| 50 | + | |
53 | 51 | | |
54 | 52 | | |
55 | 53 | | |
| |||
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
82 | 77 | | |
83 | | - | |
| 78 | + | |
84 | 79 | | |
85 | 80 | | |
86 | 81 | | |
| |||
109 | 104 | | |
110 | 105 | | |
111 | 106 | | |
112 | | - | |
| 107 | + | |
113 | 108 | | |
114 | 109 | | |
115 | 110 | | |
| |||
0 commit comments