diff --git a/botserver/src/core/bot/mod.rs b/botserver/src/core/bot/mod.rs index 24fa0f52..a320ab3b 100644 --- a/botserver/src/core/bot/mod.rs +++ b/botserver/src/core/bot/mod.rs @@ -899,29 +899,6 @@ let system_prompt = if !message.active_switchers.is_empty() { let switchers: Vec = Vec::new(); let user_id_str = user_id.to_string(); - // Flush any remaining content in html_buffer - if !html_buffer.is_empty() { - let content_to_send = html_buffer - .replace("< ", "<") - .replace(" { + Ok(Ok(_)) => { info!("start.bas executed successfully for bot {}", bot_name); // Final confirmation in memory let mut guards = state_for_redis.start_bas_guards.blocking_lock();