openlayer 0.15.2 → 0.16.0

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.
@@ -173,6 +173,7 @@ export function addChatCompletionStepToTrace(
173
173
  tokens = null,
174
174
  promptTokens = null,
175
175
  completionTokens = null,
176
+ cost = null,
176
177
  model = null,
177
178
  modelParameters = null,
178
179
  rawOutput = null,
@@ -188,6 +189,7 @@ export function addChatCompletionStepToTrace(
188
189
  tokens?: number | null;
189
190
  promptTokens?: number | null;
190
191
  completionTokens?: number | null;
192
+ cost?: number | null;
191
193
  model?: string | null;
192
194
  modelParameters?: Record<string, any> | null;
193
195
  rawOutput?: string | null;
@@ -214,6 +216,7 @@ export function addChatCompletionStepToTrace(
214
216
  (step as ChatCompletionStep).promptTokens = promptTokens;
215
217
  (step as ChatCompletionStep).completionTokens = completionTokens;
216
218
  (step as ChatCompletionStep).tokens = tokens;
219
+ (step as ChatCompletionStep).cost = cost;
217
220
  (step as ChatCompletionStep).model = model;
218
221
  (step as ChatCompletionStep).modelParameters = modelParameters;
219
222
  (step as ChatCompletionStep).rawOutput = rawOutput;
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.15.2'; // x-release-please-version
1
+ export const VERSION = '0.16.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.15.2";
1
+ export declare const VERSION = "0.16.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.15.2'; // x-release-please-version
4
+ exports.VERSION = '0.16.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.15.2'; // x-release-please-version
1
+ export const VERSION = '0.16.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map