We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b16709e commit 81dbf16Copy full SHA for 81dbf16
util/opentelemetry-util-genai/src/opentelemetry/util/genai/_upload/completion_hook.py
@@ -149,6 +149,8 @@ def done(future: Future[None]) -> None:
149
path,
150
contents_hashed_to_filename,
151
), json_encodeable in upload_data.items():
152
+ if contents_hashed_to_filename and self._file_exists(path):
153
+ continue
154
# could not acquire, drop data
155
if not self._semaphore.acquire(blocking=False): # pylint: disable=consider-using-with
156
_logger.warning(
0 commit comments