@ai-sdk/harness 1.0.61 → 1.0.63

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/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @ai-sdk/harness
2
2
 
3
+ ## 1.0.63
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [1937bef]
8
+ - @ai-sdk/provider-utils@5.0.24
9
+ - ai@7.0.57
10
+
11
+ ## 1.0.62
12
+
13
+ ### Patch Changes
14
+
15
+ - 25c9120: Expose provider metadata on language-model-call end callbacks and telemetry spans.
16
+ - Updated dependencies [25c9120]
17
+ - Updated dependencies [89080c8]
18
+ - Updated dependencies [79d6195]
19
+ - ai@7.0.56
20
+
3
21
  ## 1.0.61
4
22
 
5
23
  ### Patch Changes
@@ -1070,6 +1070,7 @@ function createTurnTelemetry(opts) {
1070
1070
  responseId: callId,
1071
1071
  usage,
1072
1072
  content: info.content,
1073
+ ...info.providerMetadata != null ? { providerMetadata: info.providerMetadata } : {},
1073
1074
  performance: {
1074
1075
  responseTimeMs: void 0,
1075
1076
  timeToFirstOutputMs: void 0,
@@ -1129,7 +1130,8 @@ function createTurnTelemetry(opts) {
1129
1130
  await inferenceEnd({
1130
1131
  finishReason,
1131
1132
  usage,
1132
- content
1133
+ content,
1134
+ providerMetadata: info.providerMetadata
1133
1135
  });
1134
1136
  await ((_b4 = dispatcher.onStepEnd) == null ? void 0 : _b4.call(
1135
1137
  dispatcher,