Skip to content

Commit

Permalink
db migrate merge
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnJyong committed Apr 2, 2024
1 parent 1093f2d commit db92490
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
7 changes: 5 additions & 2 deletions api/controllers/console/datasets/datasets_segments.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@
from controllers.console.app.error import ProviderNotInitializeError
from controllers.console.datasets.error import InvalidActionError, NoFileUploadedError, TooManyFilesError
from controllers.console.setup import setup_required
from controllers.console.wraps import account_initialization_required, cloud_edition_billing_resource_check, \
cloud_edition_billing_knowledge_limit_check
from controllers.console.wraps import (
account_initialization_required,
cloud_edition_billing_knowledge_limit_check,
cloud_edition_billing_resource_check,
)
from core.errors.error import LLMBadRequestError, ProviderTokenNotInitError
from core.model_manager import ModelManager
from core.model_runtime.entities.model_entities import ModelType
Expand Down
1 change: 0 additions & 1 deletion api/controllers/console/wraps.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from flask_login import current_user

from controllers.console.workspace.error import AccountNotInitializedError
from extensions.ext_redis import redis_client
from services.feature_service import FeatureService
from services.operation_service import OperationService

Expand Down
7 changes: 5 additions & 2 deletions api/controllers/service_api/dataset/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@

from controllers.service_api import api
from controllers.service_api.app.error import ProviderNotInitializeError
from controllers.service_api.wraps import DatasetApiResource, cloud_edition_billing_resource_check, \
cloud_edition_billing_knowledge_limit_check
from controllers.service_api.wraps import (
DatasetApiResource,
cloud_edition_billing_knowledge_limit_check,
cloud_edition_billing_resource_check,
)
from core.errors.error import LLMBadRequestError, ProviderTokenNotInitError
from core.model_manager import ModelManager
from core.model_runtime.entities.model_entities import ModelType
Expand Down

0 comments on commit db92490

Please sign in to comment.