Skip to content

Commit 6c57d34

Browse files
committed
not a pon
1 parent cbd0649 commit 6c57d34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

instrumentation-api-incubator/src/main/java/io/opentelemetry/instrumentation/api/incubator/semconv/genai/GenAiAttributesExtractor.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ public void onEnd(
9999
REQUEST request,
100100
@Nullable RESPONSE response,
101101
@Nullable Throwable error) {
102-
List<String> finishReaspons = getter.getResponseFinishReasons(request, response);
103-
if (finishReaspons != null && !finishReaspons.isEmpty()) {
104-
attributes.put(GEN_AI_RESPONSE_FINISH_REASONS, finishReaspons);
102+
List<String> finishReasons = getter.getResponseFinishReasons(request, response);
103+
if (finishReasons != null && !finishReasons.isEmpty()) {
104+
attributes.put(GEN_AI_RESPONSE_FINISH_REASONS, finishReasons);
105105
}
106106
internalSet(attributes, GEN_AI_RESPONSE_ID, getter.getResponseId(request, response));
107107
internalSet(attributes, GEN_AI_RESPONSE_MODEL, getter.getResponseModel(request, response));

0 commit comments

Comments
 (0)