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 9390cb5 commit f2c1057Copy full SHA for f2c1057
util/opentelemetry-util-genai/src/opentelemetry/util/genai/utils.py
@@ -61,9 +61,6 @@ def get_content_capturing_mode() -> ContentCapturingMode:
61
62
63
class _GenAiJsonEncoder(json.JSONEncoder):
64
- """Should be used by GenAI instrumentations when serializing objects that may contain
65
- bytes, datetimes, etc. for GenAI observability."""
66
-
67
def default(self, o: Any) -> Any:
68
if isinstance(o, bytes):
69
return b64encode(o).decode()
0 commit comments