We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c107078 + 3d42dde commit fd22f71Copy full SHA for fd22f71
src/migrations/_run.ts
@@ -36,6 +36,19 @@ export const runMigrations = async () => {
36
const config = getConfig();
37
if (config.OCO_AI_PROVIDER === OCO_AI_PROVIDER_ENUM.TEST) return;
38
39
+ // skip unhandled providers in migration00
40
+ if (
41
+ [
42
+ OCO_AI_PROVIDER_ENUM.DEEPSEEK,
43
+ OCO_AI_PROVIDER_ENUM.GROQ,
44
+ OCO_AI_PROVIDER_ENUM.MISTRAL,
45
+ OCO_AI_PROVIDER_ENUM.MLX,
46
+ OCO_AI_PROVIDER_ENUM.OPENROUTER,
47
+ ].includes(config.OCO_AI_PROVIDER)
48
+ ) {
49
+ return;
50
+ }
51
+
52
const completedMigrations = getCompletedMigrations();
53
54
let isMigrated = false;
0 commit comments