@ego-z/contracts 0.15.30 → 0.15.31
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/ask.d.ts +7 -0
package/package.json
CHANGED
package/src/ask.d.ts
CHANGED
|
@@ -733,6 +733,13 @@ export interface AskContextUsage {
|
|
|
733
733
|
byPart: AskContextParts;
|
|
734
734
|
/** Earlier messages left out to fit the budget. `0` when all of them fit. */
|
|
735
735
|
historyDropped: number;
|
|
736
|
+
/**
|
|
737
|
+
* The factor EgoZ multiplied its raw estimate by: the provider's count
|
|
738
|
+
* over EgoZ's raw estimate on the conversation's previous turn on the
|
|
739
|
+
* same model, so `estimated` here is already corrected. `1` when there
|
|
740
|
+
* was none. Absent from turns made before it existed.
|
|
741
|
+
*/
|
|
742
|
+
correction?: number;
|
|
736
743
|
/**
|
|
737
744
|
* `true` when the provider refused a prompt as too long and EgoZ sent a
|
|
738
745
|
* smaller one. It retries once; a second refusal ends the turn with
|