openchatai / OpenCopilot

🤖 🔥 Language-to-actions engine

Home Page:https://opencopilot.so

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Table 'opencopilot.chatbots' doesn't exist"

NaMoCv opened this issue · comments

Describe the bug
0.0.88-beta
use azure
.env:
OPENAI_API_TYPE=azure
EMBEDDING_PROVIDER=azure
AZURE_OPENAI_EMBEDDING_MODEL_NAME=text-embedding-ada-002
AZURE_OPENAI_API_TYPE=azure
AZURE_OPENAI_API_KEY=
AZURE_OPENAI_DEPLOYMENT_NAME=gpt-35-turbo
AZURE_OPENAI_COMPLETION_MODEL=gpt-35-turbo
AZURE_OPENAI_API_VERSION=2023-07-01-preview
AZURE_OPENAI_API_BASE=https://xxx.openai.azure.com/

make install or make migrate
"Table 'opencopilot.chatbots' doesn't exist"

if set OPENAI_API_KEY=xxx, it will pass.

please run make migrate and make restart, it should fix the problem.

please run make migrate and make restart, it should fix the problem.

after make install, llm-server keeps restarting; make migrate will report an error.
but, i set OPENAI_API_KEY=xxx, 'make install' will run successfully.