async fn update_prompt(context: &mut Context) -> Result<Option<String>, Error>