Skip to content

Conversation

Rehan-Ul-Haq
Copy link
Contributor

Overview

This PR fixes a typo in the assert statement within the handoff function in handoffs.py, changing 'on_input' to 'on_handoff' for accuracy and clarity.

Changes

  • Corrected the word “on_input” to “on_handoff” in the docstring.

Motivation

Clear and correct documentation improves code readability and reduces confusion for users and contributors.

Checklist

  • I have reviewed the docstring after making the change.
  • No functionality is affected.
  • The change follows the repository’s contribution guidelines.

@rm-openai rm-openai merged commit 16fb29c into openai:main May 30, 2025
5 checks passed
KatHaruto pushed a commit to KatHaruto/openai-agents-python that referenced this pull request Jun 10, 2025
### Overview

This PR fixes a typo in the assert statement within the `handoff`
function in `handoffs.py`, changing `'on_input'` to `'on_handoff`' for
accuracy and clarity.

### Changes

- Corrected the word “on_input” to “on_handoff” in the docstring.

### Motivation

Clear and correct documentation improves code readability and reduces
confusion for users and contributors.

### Checklist

- [x] I have reviewed the docstring after making the change.
- [x] No functionality is affected.
- [x] The change follows the repository’s contribution guidelines.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants