Skip to content

Commit ecdbe29

Browse files
author
Theodore Li
committed
Fix broken tests
1 parent e6d98c6 commit ecdbe29

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/sim/tools/exa/research.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,10 @@ export const researchTool: ToolConfig<ExaResearchParams, ExaResearchResponse> =
132132
},
133133
],
134134
// Include cost breakdown for pricing calculation (internal field, stripped from final output)
135-
_costDollars: taskData.costDollars,
135+
costDollars: taskData.costDollars,
136136
}
137+
// Add internal cost field for pricing calculation
138+
;(result.output as Record<string, unknown>)._costDollars = taskData.costDollars
137139
return result
138140
}
139141

0 commit comments

Comments
 (0)