mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2026-02-03 11:40:39 +03:00
add question count table (#73)
* update admin url * update log level * add user question count table * rename ChatGpt to ChatGptModels * change user to root in ci tests * add chatgpt_shared volume
This commit is contained in:
@@ -6,7 +6,7 @@ import factory.fuzzy
|
||||
from faker import Faker
|
||||
|
||||
from constants import BotStagesEnum
|
||||
from core.bot.models.chat_gpt import ChatGpt
|
||||
from core.bot.models.chatgpt import ChatGptModels
|
||||
from tests.integration.factories.utils import BaseModelFactory
|
||||
|
||||
faker = Faker("ru_RU")
|
||||
@@ -58,7 +58,7 @@ class ChatGptModelFactory(BaseModelFactory):
|
||||
priority = factory.Faker("random_int", min=0, max=42)
|
||||
|
||||
class Meta:
|
||||
model = ChatGpt
|
||||
model = ChatGptModels
|
||||
|
||||
|
||||
class BotInfoFactory(factory.DictFactory):
|
||||
|
||||
Reference in New Issue
Block a user