Skip to content

Commit 813f40f

Browse files
committed
Remove stale comment
Model is mandatory with azure client too.
1 parent 7243199 commit 813f40f

File tree

1 file changed

+0
-1
lines changed
  • instrumentation/elastic-opentelemetry-instrumentation-openai/src/opentelemetry/instrumentation/openai

1 file changed

+0
-1
lines changed

instrumentation/elastic-opentelemetry-instrumentation-openai/src/opentelemetry/instrumentation/openai/helpers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ def _get_span_attributes_from_wrapper(instance, kwargs) -> Attributes:
158158
GEN_AI_SYSTEM: "openai",
159159
}
160160

161-
# on some azure clients the model was not mandatory
162161
if (request_model := kwargs.get("model")) is not None:
163162
span_attributes[GEN_AI_REQUEST_MODEL] = request_model
164163

0 commit comments

Comments
 (0)