fix: remove unused MetaPlugin::binary variant
Co-authored-by: aider (openai/andrew/openrouter/mistralai/mistral-medium-3.1) <aider@aider.chat>
This commit is contained in:
@@ -61,7 +61,8 @@ pub fn mode_server(
|
||||
// Take ownership of the connection and move it into the async runtime
|
||||
let owned_conn = std::mem::replace(conn, rusqlite::Connection::open_in_memory()?);
|
||||
let cmd = cmd.clone();
|
||||
rt.block_on(run_server(server_config, owned_conn, data_path, item_service, cmd))
|
||||
let settings = settings.clone();
|
||||
rt.block_on(run_server(server_config, owned_conn, data_path, item_service, cmd, settings))
|
||||
}
|
||||
|
||||
async fn run_server(
|
||||
@@ -70,6 +71,7 @@ async fn run_server(
|
||||
data_dir: PathBuf,
|
||||
item_service: ItemService,
|
||||
cmd: Command,
|
||||
settings: config::Settings,
|
||||
) -> Result<()> {
|
||||
// Construct address with port
|
||||
let bind_address = if let Some(port) = config.port {
|
||||
|
||||
Reference in New Issue
Block a user