I think the other alternative is that the senior guy thinks that the junior guy is working on a problem where the juice isn't worth the squeeze. "Just ask an LLM" can be interpreted as "if the AI can't give you a quick solution, it won't be worth either one of our times to puzzle out the technical details."