Skip to content

feat(agents-core): expose RunState history getter #340

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 2 commits into from
Aug 15, 2025

Conversation

dkundel-openai
Copy link
Collaborator

@dkundel-openai dkundel-openai commented Aug 14, 2025

Fixes #293
Fixes #278

Summary

  • allow accessing the combined input and output history directly from RunState
  • verify RunState history with new unit tests

Testing

  • pnpm -r build-check
  • CI=1 pnpm test (fails: Cannot find package '@openai/agents-core/_shims')
  • pnpm lint

https://chatgpt.com/codex/tasks/task_i_689e4b6fef28833187917f24c7ebd7ec

Copy link

changeset-bot bot commented Aug 14, 2025

🦋 Changeset detected

Latest commit: c41b1fa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@openai/agents-core Patch
@openai/agents-openai Patch
@openai/agents-realtime Patch
@openai/agents Patch
@openai/agents-extensions Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dkundel-openai dkundel-openai requested a review from seratch August 14, 2025 21:06
@seratch seratch added enhancement New feature or request package:agents-core labels Aug 14, 2025
@seratch
Copy link
Member

seratch commented Aug 15, 2025

@dkundel-openai I will merge this tomorrow; if you need more time before releasing it, let me know.

@seratch seratch merged commit 1cd3266 into main Aug 15, 2025
5 checks passed
@seratch seratch deleted the codex/add-runstate.fromstring-method-for-history-access branch August 15, 2025 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants