Reload built-in tools to reflect experiment changes while preserving MCP tools
(&mut self, os: &mut Os)
| 1248 | |
| 1249 | /// Reload built-in tools to reflect experiment changes while preserving MCP tools |
| 1250 | pub async fn reload_builtin_tools(&mut self, os: &mut Os) -> Result<(), ChatError> { |
| 1251 | self.conversation |
| 1252 | .reload_builtin_tools(os, &mut self.stderr) |
| 1253 | .await |
| 1254 | .map_err(|e| ChatError::Custom(format!("Failed to update tool spec: {e}").into())) |
| 1255 | } |
| 1256 | } |
| 1257 | |
| 1258 | impl Drop for ChatSession { |