pub async fn prepare_input<C, S, M>(
input_msg: InputMessage,
message_id: String,
current_history: &HistoryManager<C, S>,
conversation_store: &C,
message_sender: &M,
) -> Result<PrepareResult, Box<dyn Error + Send + Sync>>pub async fn prepare_input<C, S, M>(
input_msg: InputMessage,
message_id: String,
current_history: &HistoryManager<C, S>,
conversation_store: &C,
message_sender: &M,
) -> Result<PrepareResult, Box<dyn Error + Send + Sync>>