pub fn code_completion_sync( api_key: &str, ) -> Box<dyn FnMut(Vec<Message>) -> Result<ChatResponses>>