We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdec2bc commit e7f07f6Copy full SHA for e7f07f6
1 file changed
util/opentelemetry-util-genai/src/opentelemetry/util/genai/types.py
@@ -259,6 +259,7 @@ class GenAIInvocation:
259
context_token: ContextToken | None = None
260
span: Span | None = None
261
attributes: dict[str, Any] = field(default_factory=_new_str_any_dict)
262
+ error_type: str | None = None
263
264
265
@dataclass
@@ -371,8 +372,6 @@ class ToolCall(GenAIInvocation):
371
372
tool_description: str | None = None
373
# gen_ai.tool.call.result - Result returned by the tool (Opt-In, may contain sensitive data)
374
tool_result: Any = None
- # error.type - Error type if the tool call failed
375
- error_type: str | None = None
376
377
# Timing field (not inherited from GenAIInvocation, matches LLMInvocation pattern)
378
monotonic_start_s: float | None = None
0 commit comments