BurnySc2 / python-sc2

A StarCraft II bot api client library for Python 3
MIT License
472 stars 156 forks source link

Is there any way to modify `on_step` function during interaction with the environment? #187

Open Felixvillas opened 7 months ago

Felixvillas commented 7 months ago

Hi~

Thanks for sharing this great job!

I'm trying to develop a LLM(Large Language Model)-based agent, which can interact with the environment by generating code. In my understanding, this agent may generate different codes at different times since the state of the environment may change. The different codes I am referring to here refer to modifying the on_step function during interaction with the environment.

Or, is there any other way to do this in python-sc2?