@builder.io/ai-utils 0.0.41 → 0.0.42
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/completion.d.ts +4 -0
- package/dist/events.d.ts +8 -0
- package/package.json +1 -1
package/dist/completion.d.ts
CHANGED
package/dist/events.d.ts
CHANGED
|
@@ -223,6 +223,14 @@ export interface AssistantStats {
|
|
|
223
223
|
* Error message if there was one.
|
|
224
224
|
*/
|
|
225
225
|
errorMessage?: string;
|
|
226
|
+
/**
|
|
227
|
+
* Input tokens
|
|
228
|
+
*/
|
|
229
|
+
inputTokens?: number;
|
|
230
|
+
/**
|
|
231
|
+
* Output tokens
|
|
232
|
+
*/
|
|
233
|
+
outputTokens?: number;
|
|
226
234
|
}
|
|
227
235
|
export interface ModelCreateEvent {
|
|
228
236
|
type: "assistant.model.create";
|