Add metadata key-value pair.
(mut self, key: impl Into<String>, value: impl Into<String>)
| 153 | |
| 154 | /// Add metadata key-value pair. |
| 155 | pub fn metadata(mut self, key: impl Into<String>, value: impl Into<String>) -> Self { |
| 156 | self.metadata.push((key.into(), value.into())); |
| 157 | self |
| 158 | } |
| 159 | |
| 160 | /// Set the agent mode (e.g., "build", "code", "ask"). |
| 161 | pub fn agent_mode(mut self, mode: impl Into<String>) -> Self { |