mirror of
https://github.com/coalaura/whiskr.git
synced 2025-09-09 09:19:54 +00:00
include exa cost
This commit is contained in:
5
exa.go
5
exa.go
@@ -18,9 +18,14 @@ type ExaResult struct {
|
||||
Summary string `json:"summary"`
|
||||
}
|
||||
|
||||
type ExaCost struct {
|
||||
Total float64 `json:"total"`
|
||||
}
|
||||
|
||||
type ExaResults struct {
|
||||
RequestID string `json:"requestId"`
|
||||
Results []ExaResult `json:"results"`
|
||||
Cost ExaCost `json:"costDollars"`
|
||||
}
|
||||
|
||||
func (e *ExaResult) String() string {
|
||||
|
Reference in New Issue
Block a user