Skip to content

docs(sessions): show closing AsyncSQLiteSession - #5021

Draft
00200200 wants to merge 1 commit into
openai:mainfrom
00200200:codex/docs-async-sqlite-close
Draft

00200200 wants to merge 1 commit into
openai:mainfrom
00200200:codex/docs-async-sqlite-close

Conversation

@00200200

Copy link
Copy Markdown
Contributor

Summary

This pull request updates the AsyncSQLiteSession example to close the session after the final run and documents the lifecycle boundary of close(). The example now releases its owned aiosqlite connection instead of leaving it open.

Test plan

  • make build-docs
  • Existing generated reference files were unchanged.
  • No live model or API calls were made.

Issue number

Not linked to an existing issue.

Checks

  • Verified the documentation example and affected implementation behavior.
  • Confirmed the documentation build passes.

@00200200
00200200 force-pushed the codex/docs-async-sqlite-close branch from 24cc241 to 3ee518d Compare September 14, 2026 13:13
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.

1 participant