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.
- package/CHANGELOG.md +8 -0
- package/lib/core/cli.d.ts +1 -1
- package/lib/core/cli.d.ts.map +1 -1
- package/lib/core/cli.js +1 -1
- package/lib/core/cli.js.map +1 -1
- package/lib/core/cli.mjs +1 -1
- package/lib/core/cli.mjs.map +1 -1
- package/lib/integrations/bedrockAgentTracer.d.ts +2 -1
- package/lib/integrations/bedrockAgentTracer.d.ts.map +1 -1
- package/lib/integrations/bedrockAgentTracer.js +694 -2
- package/lib/integrations/bedrockAgentTracer.js.map +1 -1
- package/lib/integrations/bedrockAgentTracer.mjs +694 -2
- package/lib/integrations/bedrockAgentTracer.mjs.map +1 -1
- package/lib/tracing/tracer.d.ts +2 -1
- package/lib/tracing/tracer.d.ts.map +1 -1
- package/lib/tracing/tracer.js +2 -1
- package/lib/tracing/tracer.js.map +1 -1
- package/lib/tracing/tracer.mjs +2 -1
- package/lib/tracing/tracer.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/core/cli.ts +2 -2
- package/src/lib/integrations/bedrockAgentTracer.ts +839 -6
- package/src/lib/tracing/tracer.ts +3 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -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.
|
|
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.
|
|
1
|
+
export declare const VERSION = "0.16.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.16.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|