@voltagent/core 0.1.12 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4630,9 +4630,6 @@ __name(startOperationSpan, "startOperationSpan");
4630
4630
  function endOperationSpan(options) {
4631
4631
  const { span, status, data } = options;
4632
4632
  if (!span || !span.isRecording()) {
4633
- console.warn(
4634
- "[VoltAgentCore OTEL] Attempted to end a non-recording or undefined operation span."
4635
- );
4636
4633
  return;
4637
4634
  }
4638
4635
  try {
@@ -4710,7 +4707,6 @@ function endToolSpan(options) {
4710
4707
  var _a, _b, _c;
4711
4708
  const { span, resultData } = options;
4712
4709
  if (!span || !span.isRecording()) {
4713
- console.warn("[VoltAgentCore OTEL] Attempted to end a non-recording or undefined tool span.");
4714
4710
  return;
4715
4711
  }
4716
4712
  try {
@@ -4847,7 +4843,8 @@ var Agent = class {
4847
4843
  toolId: toolCallId
4848
4844
  }, standardData), userContextData && { userContext: userContextData });
4849
4845
  internalEventData.metadata = __spreadProps(__spreadValues({}, internalEventData.metadata), {
4850
- sourceAgentId: this.id
4846
+ sourceAgentId: this.id,
4847
+ toolName
4851
4848
  });
4852
4849
  const eventEmitter = AgentEventEmitter.getInstance();
4853
4850
  const eventUpdater = yield eventEmitter.createTrackedEvent({