Currently, we included a bit of a hack o get substrate working by adding the image env to the actor env as it wasn't previously discarded when substrate was building the actor. This should be fixed now that the following PR has merged agent-substrate/substrate#301. We can remove this conditional and the pythonRuntimeImageEnv function as they are no longer necessary once kagent-substrate is bumped to a version that includes this fix.
Currently, we included a bit of a hack o get substrate working by adding the image env to the actor env as it wasn't previously discarded when substrate was building the actor. This should be fixed now that the following PR has merged agent-substrate/substrate#301. We can remove this conditional and the
pythonRuntimeImageEnvfunction as they are no longer necessary oncekagent-substrateis bumped to a version that includes this fix.