Skip to content

Commit 48cb011

Browse files
committed
Don't print inside of the client
1 parent 75aa0a9 commit 48cb011

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ observation = computer.observe()
3434

3535
for _ in range(25): # max actions
3636
action = session.plan(observation)
37+
print(action)
3738
if action.kind == "stop":
3839
break
3940
observation = computer.execute(action)

src/generalagents/agent.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ def plan(self, observation: Image.Image) -> Action:
4848

4949
action = res.json()["action"]
5050
self.previous_actions.append(action)
51-
print(f"Received action {action}")
5251
return cattrs.structure(action, Action) # pyright: ignore [reportArgumentType] https://peps.python.org/pep-0747
5352

5453

0 commit comments

Comments
 (0)