Skip to content

Conversation

@habema
Copy link
Contributor

@habema habema commented Nov 12, 2025

Resolves #2073

Fixed linter not picking up imports from agents.extensions.memory.

The module was using lazy imports via __getattr__ which worked at runtime but broke static analysis. Added TYPE_CHECKING imports so linters/IDEs can provide autocomplete and type checking.

Also cleaned up mypy config by excluding examples/ and moved site/ exclusion from the Makefile to pyproject.toml for consistency.

@habema habema changed the title fix: #2010 Improve type hinting in memory extension modules fix: #2073 Improve type hinting in memory extension modules Nov 12, 2025
@seratch seratch added documentation Improvements or additions to documentation feature:sessions labels Nov 12, 2025
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@seratch seratch merged commit 3ac64f7 into openai:main Nov 13, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation feature:sessions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect import path in SQLAlchemySession documentation

2 participants