If “learning” is to take tests and get grades then do what you think you have to do to get ahead in the game
The secret to learning anything is to put it through the mind. I know it sounds silly, maybe even too obvious, just think about it. Read the works. Not because you are told to, so that the disposition and context of what is being studied can filter completely through the mind.
Anything else and you are entertaining yourself. Even chatting with an LLM of the old legends is purely for entertainment. It would be a philosophy game. It could “teach” as well as improvised context driven flash cards, if you could be sure it wasn’t conflated by errors.
Of all things, learning or applying philosophy in this way is counter productive, unless you are having fun. Anything “learned” would be suspicious and betray the original in substance.
Of all things, the “study of philosophy” is either just a grade, our you genuinely wish to be enriched by humanity’s legacy of thought.