1
0
Fork 0

move intermediate responses to debug level

This commit is contained in:
Sean Sube 2024-05-02 07:00:47 -05:00
parent 26dbd5d697
commit 793b4a7cb8
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ def simulate_world(world: World, steps: int = 10, callback=None):
result=result,
)
logger.info(f"{actor.name} step response: '{response}'")
logger.debug(f"{actor.name} step response: '{response}'")
if response.strip().lower() not in ["end", ""]:
logger.warning(
f"{actor.name} responded after the end of their turn: %s", response
@ -142,7 +142,7 @@ def simulate_world(world: World, steps: int = 10, callback=None):
response = agent(
"Your turn is over, no further actions will be accepted. Do not reply."
)
logger.info(f"{actor.name} warning response: {response}")
logger.debug(f"{actor.name} warning response: {response}")
if callback:
callback(world, current_step)