Commit a326c27
openai-v2: import OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT from genai-utils (#4455)
* openai-v2: import OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT from genai-utils
Remove local re-definition of OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT
and import it from opentelemetry.util.genai.environment_variables instead,
making genai-utils the single source of truth for this constant.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* openai-v2: add CHANGELOG entry for #4455
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Apply suggestion from @xrmx
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>1 parent 51b5753 commit a326c27
File tree
2 files changed
+7
-4
lines changed- instrumentation-genai/opentelemetry-instrumentation-openai-v2
- src/opentelemetry/instrumentation/openai_v2
2 files changed
+7
-4
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| |||
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
0 commit comments