Skip to content

Commit 0d8a64b

Browse files
committed
Add todo comment
1 parent bf60da4 commit 0d8a64b

File tree

1 file changed

+2
-0
lines changed
  • instrumentation-genai/opentelemetry-instrumentation-vertexai/src/opentelemetry/instrumentation/vertexai

1 file changed

+2
-0
lines changed

instrumentation-genai/opentelemetry-instrumentation-vertexai/src/opentelemetry/instrumentation/vertexai/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ def get_genai_response_attributes(
157157
finish_reasons: list[str] = [
158158
candidate.finish_reason.name for candidate in response.candidates
159159
]
160+
# TODO: add gen_ai.response.id once available in the python client
161+
# https://github.com/open-telemetry/opentelemetry-python-contrib/issues/3246
160162
return {
161163
GenAIAttributes.GEN_AI_RESPONSE_MODEL: response.model_version,
162164
GenAIAttributes.GEN_AI_RESPONSE_FINISH_REASONS: finish_reasons,

0 commit comments

Comments
 (0)