Set usage statistics
(mut self, usage: LlmUsage)
| 45 | |
| 46 | /// Set usage statistics |
| 47 | pub fn with_usage(mut self, usage: LlmUsage) -> Self { |
| 48 | self.usage = usage; |
| 49 | self |
| 50 | } |
| 51 | |
| 52 | /// Add metadata |
| 53 | pub fn with_metadata(mut self, key: String, value: serde_json::Value) -> Self { |
no outgoing calls