File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export interface ExaSearchResult {
5555export interface ExaSearchResponse extends ToolResponse {
5656 output : {
5757 results : ExaSearchResult [ ]
58- costDollars ?: ExaCostDollars
58+ __costDollars ?: ExaCostDollars
5959 }
6060}
6161
@@ -84,7 +84,7 @@ export interface ExaGetContentsResult {
8484export interface ExaGetContentsResponse extends ToolResponse {
8585 output : {
8686 results : ExaGetContentsResult [ ]
87- costDollars ?: ExaCostDollars
87+ __costDollars ?: ExaCostDollars
8888 }
8989}
9090
@@ -127,7 +127,7 @@ export interface ExaSimilarLink {
127127export interface ExaFindSimilarLinksResponse extends ToolResponse {
128128 output : {
129129 similarLinks : ExaSimilarLink [ ]
130- costDollars ?: ExaCostDollars
130+ __costDollars ?: ExaCostDollars
131131 }
132132}
133133
@@ -145,7 +145,7 @@ export interface ExaAnswerResponse extends ToolResponse {
145145 url : string
146146 text : string
147147 } [ ]
148- costDollars ?: ExaCostDollars
148+ __costDollars ?: ExaCostDollars
149149 }
150150}
151151
Original file line number Diff line number Diff line change @@ -373,8 +373,8 @@ async function applyHostedKeyCostToResult(
373373 finalResult . output = {
374374 ...finalResult . output ,
375375 cost : {
376- total : hostedKeyCost ,
377376 ...metadata ,
377+ total : hostedKeyCost ,
378378 } ,
379379 }
380380 }
You can’t perform that action at this time.
0 commit comments