Skip to content

Implement screenshot caching #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2025

Conversation

TGreen87
Copy link
Owner

Summary

  • add screenshot cache to reduce repeated image data
  • reference cached screenshots in ToolCall output
  • test that repeated screenshots use cache

Testing

  • ruff format src/agents/_run_impl.py tests/test_computer_action.py
  • ruff check src/agents/_run_impl.py tests/test_computer_action.py
  • mypy .
  • pytest -q (failed: pytest not installed and network access blocked)

@TGreen87 TGreen87 merged commit d566393 into main May 19, 2025
@TGreen87 TGreen87 deleted the codex/optimize-screenshot-logic-with-caching branch May 19, 2025 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant