Skip to content

[codex] defer TxAgent runtime imports - #28

Draft
SufianTA wants to merge 1 commit into
mims-harvard:mainfrom
SufianTA:codex/txagent-lazy-package-exports
Draft

[codex] defer TxAgent runtime imports#28
SufianTA wants to merge 1 commit into
mims-harvard:mainfrom
SufianTA:codex/txagent-lazy-package-exports

Conversation

@SufianTA

@SufianTA SufianTA commented Jul 5, 2026

Copy link
Copy Markdown

Summary

  • Replace eager package exports with lazy __getattr__ imports.
  • Allow lightweight import txagent without importing optional UI/runtime dependencies.
  • Add a lightweight import regression test.

Validation

  • python -m pytest TxAgent\tests\test_lightweight_imports.py -q

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