cyberkaida / reverse-engineering-assistant

An AI assistant for reverse engineering tasks 👩‍💻
Apache License 2.0
165 stars 15 forks source link

solved a cannot import problem #20

Closed velteyn closed 5 months ago

velteyn commented 5 months ago

Hi I have issues on this code: File "/home/velteyn/venv/lib/python3.11/site-packages/reverse_engineering_assistant/llama_index_overrides.py", line 13, in from llama_index.llms.base import ChatMessage, MessageRole ImportError: cannot import name 'MessageRole' from 'llama_index.llms.base' (/home/velteyn/venv/lib/python3.11/site-packages/llama_index/llms/base.py

I solved by removing the .base node..

cyberkaida commented 5 months ago

Ahh sorry. I will remove this file completely now I have ported away from llama-index.

cyberkaida commented 5 months ago

Thank you for the pull request! I have removed the file causing this issue and tested with a new clean install. If you re-build off main it should work now!

velteyn commented 5 months ago

have you got a Discord server or something where we can interact better ? Tkz