From da7c1e53ffca7c811686af8641bbf12f94a92769 Mon Sep 17 00:00:00 2001 From: Ali Waleed Date: Sat, 9 Nov 2024 14:08:59 +0200 Subject: [PATCH] add changelog --- .../opentelemetry-instrumentation-openai-v2/CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/instrumentation-genai/opentelemetry-instrumentation-openai-v2/CHANGELOG.md b/instrumentation-genai/opentelemetry-instrumentation-openai-v2/CHANGELOG.md index 2fdeeea74f..998534cbbf 100644 --- a/instrumentation-genai/opentelemetry-instrumentation-openai-v2/CHANGELOG.md +++ b/instrumentation-genai/opentelemetry-instrumentation-openai-v2/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +- Added a wrapper for `AsyncCompletions.create` inside `src/opentelemetry/instrumentation/openai_v2/__init__.py` to instrument async chat completions +- Created a new patch function for async chat completions +- Abstracted handling span exceptions into it's own function as it was getting used in multiple places +- Adjusted `StreamWrapper` to include async methods for supporting async streaming +- Added Tests using `pytest-asyncio` fixtures + ## Version 2.0b0 (2024-11-08) - Use generic `OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT` environment variable