openchatai / OpenChat

LLMs custom-chatbots console ⚡
https://open.cx
MIT License
5.2k stars 639 forks source link

django.db.utils.ProgrammingError: (1146, "Table 'openchat.auth_user' doesn't exist") #182

Closed zhongchongan closed 9 months ago

zhongchongan commented 1 year ago

Where is the mysql database initialization script?

codebanesr commented 1 year ago

you can run it using python manage.py sync_models, I will check what caused it

codebanesr commented 1 year ago

@zhongchongan please take a pull from main, the issue has been fixed. You can find the change here https://github.com/openchatai/OpenChat/commit/639e3dd50ab5f0b5860036dc8a4b8a6eb1cd2953

zhongchongan commented 1 year ago

image @codebanesr How to configure this request address? Now the request from the web page is always 0.0.0.0

codebanesr commented 1 year ago

@zhongchongan you can edit the chat.js file, and add your ip address. If this happens on your local machine, just change the url to localhost

lvalics commented 1 year ago

It will be fixed in the next version soon ....