Skip to content

Clarify abort behavior in function call helper docs#1871

Open
Jaksenc wants to merge 1 commit into
openai:masterfrom
Jaksenc:codex/clarify-abort-function-call-docs
Open

Clarify abort behavior in function call helper docs#1871
Jaksenc wants to merge 1 commit into
openai:masterfrom
Jaksenc:codex/clarify-abort-function-call-docs

Conversation

@Jaksenc
Copy link
Copy Markdown

@Jaksenc Jaksenc commented May 11, 2026

Summary

  • clarify that calling runner.abort() rejects promise-returning runner helpers with APIUserAbortError
  • update the function-call abort example to capture the needed value before aborting
  • avoid awaiting finalFunctionCall() after aborting the runner

Closes #996

Testing

  • npm exec --yes --package prettier@3.7.1 -- prettier --check helpers.md
  • git diff --check

@Jaksenc Jaksenc requested a review from a team as a code owner May 11, 2026 14:51
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.

Abort on a function call example is confusing

1 participant