dougollerenshaw / CodeAIde

A tool for interactively building and running code with AI
MIT License
1 stars 1 forks source link

Error when running `python codeaide.py test` #18

Closed zhuangjun1981 closed 1 day ago

zhuangjun1981 commented 2 days ago

I tried to install and run the test. Here is what I encountered.

  1. when run python codeaide.py test, it says there is no PyQt5, I had to pip install pyqt5
  2. then if I run python codeaide.py test, I got this error:
Traceback (most recent call last):
  File "codeaide.py", line 24, in <module>
    main()
  File "codeaide.py", line 10, in main
    success, message = chat_handler.test_api_connection()
AttributeError: 'ChatHandler' object has no attribute 'test_api_connection'

I tried the "add_tests" branch, still not working, same error.

dougollerenshaw commented 1 day ago

Fixed in #19. Marking closed.