fix: 创建临时会话报错

This commit is contained in:
shaohuzhang1 2023-11-27 14:22:12 +08:00
parent 901097b053
commit df65df8a8c

View File

@ -27,8 +27,9 @@ from common.util.lock import try_lock, un_lock
from common.util.rsa_util import decrypt from common.util.rsa_util import decrypt
from dataset.models import Document, Problem, Paragraph from dataset.models import Document, Problem, Paragraph
from embedding.models import SourceType, Embedding from embedding.models import SourceType, Embedding
from setting.models import Model
from setting.models_provider.constants.model_provider_constants import ModelProvideConstants from setting.models_provider.constants.model_provider_constants import ModelProvideConstants
from setting.views import Model
from smartdoc.conf import PROJECT_DIR from smartdoc.conf import PROJECT_DIR
chat_cache = cache chat_cache = cache