Download Latest Version v0.7.13 source code.zip (1.1 MB)
Email in envelope

Get an email when there's a new version of VT.ai

Home / v0.7.7
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-04-02 910 Bytes
v0.7.7 - Path Handling Fix source code.tar.gz 2026-04-02 1.1 MB
v0.7.7 - Path Handling Fix source code.zip 2026-04-02 1.1 MB
Totals: 3 Items   2.2 MB 0

Bug Fixes

This release fixes a critical issue where VT.ai failed to import modules when the project path contained spaces or special characters (e.g., 'VT.ai' directory).

Fixed Issues

  • Path Handling: Fixed ModuleNotFoundError when project path contains spaces
  • Use os.path.normpath() to properly handle paths with spaces and special characters
  • Fix import failures in directories like VT.ai or My Projects
  • Normalize path comparison when checking sys.path entries

Technical Details

  • Chainlit loads app.py as a file, not as a module
  • Paths with spaces caused sys.path.insert() to fail
  • Solution: Normalize paths using os.path.normpath() before adding to sys.path

Installation

:::bash
# Install from PyPI
pip install --upgrade vtai

# Or install globally with uv
uv tool install --python 3.11 vtai

# Run from any directory
vtai
Source: README.md, updated 2026-04-02