feat: Added full cost tracking to Coyote and added it to the default right prompt

This commit is contained in:
Dark-Alex-17 committed 2026-09-14 15:24:48 -06:00
1 parent bd5c0a7cdd
commit 58b0dbd812
7 files changed
+237 -25

No files matched your search

+16
View File
@@ -195,6 +195,22 @@ impl Model {
self.data.max_output_tokens
}
pub fn input_price(&self) -> Option<f64> {
self.data.input_price
}
pub fn output_price(&self) -> Option<f64> {
self.data.output_price
}
pub fn cache_read_price(&self) -> Option<f64> {
self.data.cache_read_price
}
pub fn cache_write_price(&self) -> Option<f64> {
self.data.cache_write_price
}
pub fn supports_function_calling(&self) -> bool {
self.data.supports_function_calling
}