Just-in-time and distributed task representations in language models