Set the agent mode (e.g., "build", "code", "ask").
(mut self, mode: impl Into<String>)
| 160 | |
| 161 | /// Set the agent mode (e.g., "build", "code", "ask"). |
| 162 | pub fn agent_mode(mut self, mode: impl Into<String>) -> Self { |
| 163 | self.agent_mode = Some(mode.into()); |
| 164 | self |
| 165 | } |
| 166 | |
| 167 | /// Set the finish reason (e.g., "stop", "tool-calls", "length"). |
| 168 | pub fn finish_reason(mut self, reason: impl Into<String>) -> Self { |
no outgoing calls