@columenlabs/lumen-ui-types 0.1.251 → 0.1.253
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/assistant.d.ts +11 -0
- package/package.json +1 -1
package/dist/assistant.d.ts
CHANGED
|
@@ -114,6 +114,10 @@ export interface StepWeb {
|
|
|
114
114
|
read?: WebLink;
|
|
115
115
|
/** A read that failed: the page it could not open (the step's `error` says why). */
|
|
116
116
|
tried?: WebLink;
|
|
117
|
+
/** A lookup's pages, in the order it returned them: its question is `query`. */
|
|
118
|
+
reads?: WebLink[];
|
|
119
|
+
/** True for a lookup (one question answered from several pages). */
|
|
120
|
+
lookup?: boolean;
|
|
117
121
|
}
|
|
118
122
|
/** A change the assistant drafted: nothing happens until the person presses Save. */
|
|
119
123
|
export interface DraftItem {
|
|
@@ -485,6 +489,11 @@ export interface SpendState {
|
|
|
485
489
|
way?: AssistantOwnWay;
|
|
486
490
|
/** The provider the row ran on, when the server could tell. */
|
|
487
491
|
provider?: AssistantProvider;
|
|
492
|
+
/**
|
|
493
|
+
* Of a $0 row (a plan sign-in's calls): what its tokens would cost at the model's API rates,
|
|
494
|
+
* an estimate. Left out when the model's price is unknown, and by older servers.
|
|
495
|
+
*/
|
|
496
|
+
list_usd?: number;
|
|
488
497
|
})[];
|
|
489
498
|
/**
|
|
490
499
|
* USD of this month's own spend that counts toward the own cap: key calls on providers the
|
|
@@ -515,6 +524,8 @@ export interface UsageEntry {
|
|
|
515
524
|
own_usd?: number;
|
|
516
525
|
/** Calls the person's plan sign-in answered (free to them; left out when none, and before it was kept). */
|
|
517
526
|
own_plan_calls?: number;
|
|
527
|
+
/** Those plan calls at the models' API rates, an estimate (the plan itself charged $0). */
|
|
528
|
+
own_plan_usd?: number;
|
|
518
529
|
parts: UsagePart[];
|
|
519
530
|
}
|
|
520
531
|
/** One month of a person's use: the total, per tier and model, and each chat and run, newest first. */
|