Set the maximum total tokens
(mut self, max: usize)
| 140 | |
| 141 | /// Set the maximum total tokens |
| 142 | pub fn with_max_tokens(mut self, max: usize) -> Self { |
| 143 | self.max_tokens = max; |
| 144 | self |
| 145 | } |
| 146 | |
| 147 | /// Set the session ID |
| 148 | pub fn with_session_id(mut self, id: impl Into<String>) -> Self { |
no outgoing calls