Path to the cached pricing file: `pricing.json` in the user data dir.
()
| 53 | |
| 54 | /// Path to the cached pricing file: `pricing.json` in the user data dir. |
| 55 | fn cache_path() -> Option<PathBuf> { |
| 56 | crate::config::user_data_dir().map(|dir| dir.join("pricing.json")) |
| 57 | } |
| 58 | |
| 59 | /// The embedded pricing table -- compiled into the binary as a fallback. |
| 60 | fn embedded_table() -> HashMap<String, ModelPricing> { |
no test coverage detected