- Adding functionality for listing and editing assets
- Started adding functionality for creating a 'full_documents' list view.
This commit is contained in:
@@ -9,6 +9,7 @@ from pydantic import BaseModel, Field
|
||||
|
||||
from common.extensions import db, minio_client
|
||||
from common.models.interaction import Specialist, EveAIAsset
|
||||
from common.utils.minio_utils import MIB_CONVERTOR
|
||||
from common.utils.eveai_exceptions import EveAISpecialistExecutionError
|
||||
from common.utils.model_logging_utils import set_logging_information
|
||||
from eveai_chat_workers.definitions.language_level.language_level_v1_0 import LANGUAGE_LEVEL
|
||||
@@ -209,7 +210,7 @@ class SpecialistExecutor(CrewAIBaseSpecialistExecutor):
|
||||
# Stap 3: Storage metadata toevoegen
|
||||
asset.bucket_name = bucket_name
|
||||
asset.object_name = object_name
|
||||
asset.file_size = file_size
|
||||
asset.file_size = file_size / MIB_CONVERTOR
|
||||
asset.file_type = "json"
|
||||
|
||||
# Stap 4: Token usage toevoegen
|
||||
|
||||
Reference in New Issue
Block a user