Remove redundant availability checks

#1

This PR cleans up redundant logical checks in the LLMAgentBase action selection

Changes Made:

  • Removed redundant list lookups: Removed and chosen_move in battle.available_moves and and chosen_switch in battle.available_switches inside choose_move(). The helper methods _find_move_by_name and _find_pokemon_by_name already exclusively return objects from these lists, making the secondary checks unnecessary.
Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment