feat/enhance the multi-modal support (#8818)
This commit is contained in:
parent
7a1d6fe509
commit
e61752bd3a
267 changed files with 6263 additions and 3523 deletions
|
|
@ -5,7 +5,8 @@ from typing import Optional, Union
|
|||
from controllers.console.app.error import AppNotFoundError
|
||||
from extensions.ext_database import db
|
||||
from libs.login import current_user
|
||||
from models.model import App, AppMode
|
||||
from models import App
|
||||
from models.model import AppMode
|
||||
|
||||
|
||||
def get_app_model(view: Optional[Callable] = None, *, mode: Union[AppMode, list[AppMode]] = None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue