mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-26 18:33:30 +08:00
Feat: v0.27.0 model provider (#16604)
This commit is contained in:
@@ -255,14 +255,7 @@ ensure_docling
|
||||
ensure_db_init
|
||||
|
||||
if [[ "${INIT_MODEL_PROVIDER_TABLES}" -eq 1 ]]; then
|
||||
echo "Running model provider table migrations..."
|
||||
"$PY" tools/scripts/mysql_migration.py \
|
||||
--stages tenant_model_provider,tenant_model_instance,tenant_model,model_id_config \
|
||||
--config conf/service_conf.yaml \
|
||||
--execute \
|
||||
--database-version "v0.26.1" \
|
||||
--mark-database-version-on-success
|
||||
echo "Model provider table migrations completed."
|
||||
tools/scripts/run_migrations.sh
|
||||
fi
|
||||
|
||||
if [[ "${ENABLE_ADMIN_SERVER}" -eq 1 ]]; then
|
||||
|
||||
@@ -200,14 +200,7 @@ ensure_db_init() {
|
||||
}
|
||||
|
||||
run_mysql_migrations() {
|
||||
echo "Running model provider table migrations..."
|
||||
"$PY" tools/scripts/mysql_migration.py \
|
||||
--stages tenant_model_provider,tenant_model_instance,tenant_model,model_id_config \
|
||||
--config conf/service_conf.yaml \
|
||||
--execute \
|
||||
--database-version "v0.26.1" \
|
||||
--mark-database-version-on-success
|
||||
echo "Model provider table migrations completed."
|
||||
tools/scripts/run_migrations.sh
|
||||
}
|
||||
|
||||
prepare_for_go() {
|
||||
|
||||
Reference in New Issue
Block a user