@builder.io/ai-utils 0.44.3 → 0.44.4
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/package.json +1 -1
- package/src/codegen.d.ts +2 -0
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -2425,6 +2425,8 @@ export interface SessionData {
|
|
|
2425
2425
|
extraCost?: number;
|
|
2426
2426
|
/** If set, this session is a sub-agent of the given parent session. Used to avoid double-counting in aggregations. */
|
|
2427
2427
|
parentSessionId?: string;
|
|
2428
|
+
/** Credits from tools (e.g. WebSearch LLM calls) and sub-agent roll-ups. Total session credits = per-completion tokenCreditsUsed + extraCreditsConsumed. */
|
|
2429
|
+
extraCreditsConsumed?: number;
|
|
2428
2430
|
totalCompletions: number;
|
|
2429
2431
|
numUserMessages: number;
|
|
2430
2432
|
numNormalUserMessages: number;
|