pub async fn process_with_agent_with_events(
state: &AppState,
context: AgentRequestContext<'_>,
override_prompt: Option<&str>,
image_data: Option<(String, String)>,
event_tx: Option<&UnboundedSender<AgentEvent>>,
) -> Result<String>