You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PS I:\nasty\Python_Projects\LLM\autogen\Studio> autogenstudio ui --database-uri sqlite:///database.sqlite
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\chalu\AppData\Local\Programs\Python\Python311\Scripts\autogenstudio.exe\__main__.py", line 4, in <module>
File "C:\Users\chalu\AppData\Local\Programs\Python\Python311\Lib\site-packages\autogenstudio\__init__.py", line 1, in <module>
from .chatmanager import *
File "C:\Users\chalu\AppData\Local\Programs\Python\Python311\Lib\site-packages\autogenstudio\chatmanager.py", line 10, in <module>
from .datamodel import Message
File "C:\Users\chalu\AppData\Local\Programs\Python\Python311\Lib\site-packages\autogenstudio\datamodel.py", line 19, in <module>
SQLModel.model_config["protected_namespaces"] = ()
^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'SQLModel' has no attribute 'model_config'
Looks like this might be a compatibility issue related to python 3.11 and the latest version of sqlmodel. (I have 3.10 and sqlmodel 0.0.16) which seems to have no issues.
Anyone interested in investigating and suggesting a PR/fix?
Describe the bug
Steps to reproduce
Model Used
No response
Expected Behavior
No response
Screenshots and logs
No response
Additional Information
Windows 10
Python 3.11.0
autogenstudio==0.1.5
sqlmodel==0.0.21
The text was updated successfully, but these errors were encountered: