diff --git a/src/migrations/_run.ts b/src/migrations/_run.ts index bbf3bb82..30d9fd34 100644 --- a/src/migrations/_run.ts +++ b/src/migrations/_run.ts @@ -36,6 +36,19 @@ export const runMigrations = async () => { const config = getConfig(); if (config.OCO_AI_PROVIDER === OCO_AI_PROVIDER_ENUM.TEST) return; + // skip unhandled providers in migration00 + if ( + [ + OCO_AI_PROVIDER_ENUM.DEEPSEEK, + OCO_AI_PROVIDER_ENUM.GROQ, + OCO_AI_PROVIDER_ENUM.MISTRAL, + OCO_AI_PROVIDER_ENUM.MLX, + OCO_AI_PROVIDER_ENUM.OPENROUTER, + ].includes(config.OCO_AI_PROVIDER) + ) { + return; + } + const completedMigrations = getCompletedMigrations(); let isMigrated = false;