fix(mcp): remove unnecessary guard for self.assets.set_download_url tool registration

The guard around the registration of the self.assets.set_download_url tool has been removed, ensuring it is always available for configuration. This change addresses issues on 32MB flash devices where the tool was previously skipped due to partition validation checks.

Fixes #1962
This commit is contained in:
Terrence
2026-05-02 15:56:47 +08:00
parent 2be3c2cb1a
commit 1847b58935

View File

@ -295,7 +295,6 @@ void McpServer::AddUserOnlyTools() {
settings.SetString("download_url", url);
return true;
});
}
}
void McpServer::AddTool(McpTool* tool) {