mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-04-10 21:23:39 +00:00
Fixes #2856 Previously __version__ was hardcoded as '0.4.1' in __init__.py while pyproject.toml declared version '0.1.5'. This caused nanobot gateway to report version 0.4.1 on startup while pip showed 0.1.5. Now __version__ reads from importlib.metadata.version('nanobot-ai'), keeping pyproject.toml as the single source of truth.