Unusable steps due to http get response waiting

Hello.

During training I have to make a HTTP GET request to fetch some data. Then based on the data I give reward to the agent.

During waiting seconds for the data to be received, mlagents steps counting without doing something.

My question is if that will affect something and if freezing Unity until data received would be a better approach.

Thanks.

if you’re worried about the agent side you can swap to manual decisions and actions rather than the decision requester component so that you can only act when it has valid data via your own logic