Added chat_config, chat_history