- Add
AgentInvocationtype withinvoke_agentspan lifecycle (#4274) - Add metrics support for EmbeddingInvocation (#4377)
- Add support for workflow in genAI utils handler. (#4366)
- Enrich ToolCall type, breaking change: usage of ToolCall class renamed to ToolCallRequest (#4218)
- Add EmbeddingInvocation span lifecycle support (#4219)
- Populate schema_url on metrics (#4320)
- Add workflow invocation type to genAI utils (#4310)
- Check if upload works at startup in initializer of the
UploadCompletionHook, instead of repeatedly failing on every upload (#4390). - Refactor public API: add factory methods (
start_inference,start_embedding,start_tool,start_workflow) and invocation-owned lifecycle (invocation.stop()/invocation.fail(exc)); renameLLMInvocation→InferenceInvocationandToolCall→ToolInvocation. Existing usages remain fully functional via deprecated aliases. (#4391) TelemetryHandlernow accepts acompletion_hookparameter and calls it after each LLM invocation, passing inputs, outputs, the active span, and the log record. Content capture is enabled automatically when a real hook is configured. (#4315)- Add metrics to ToolInvocations (#4443)
- Wrap completion hooks loaded via
load_completion_hookso exceptions raised byon_completionare logged and swallowed instead of propagating to instrumentation call sites.