This commit is contained in:
Henri Bourcereau 2025-07-23 17:25:05 +02:00
parent 354dcfd341
commit c6d33555ec
5 changed files with 25 additions and 9 deletions

View file

@ -12,6 +12,7 @@ pub fn demo_model<E: Environment>(agent: impl Agent<E>) {
if let Some(action) = agent.react(&state) {
let snapshot = env.step(action);
state = *snapshot.state();
// println!("{:?}", state);
done = snapshot.done();
}
}