fix: improve maintenance and synchronize live conversations

This commit is contained in:
WangShen007 committed 2026-10-29 09:46:21 +08:00
1 parent bb541bd212
commit ef86a5d3af
297 files changed
+2983 -1274

No files matched your search

+2 -4
View File
@@ -16,13 +16,11 @@ limitations under the License.
# alembic/env.py
import os
from logging.config import fileConfig
from sqlalchemy import engine_from_config
from sqlalchemy import pool
from alembic import context
from app.database import Base
from app.models import Organization, User, Role, AIConfig, Agent, Knowledge, KnowledgeToAgent, AIModelType
from app import models
from app.core.config import settings
# this is the Alembic Config object, which provides access to the values within the .ini file
@@ -38,7 +36,7 @@ if config.config_file_name is not None:
# add your model's MetaData object here
# for 'autogenerate' support
target_metadata = Base.metadata
target_metadata = models.Base.metadata
def run_migrations_offline():