fix: choose provider correctly (#7081)

fix no provider error in caption generate action
This commit is contained in:
darkskygit
2024-05-27 09:57:39 +00:00
parent 50dcce891b
commit 5ba9e2e9b1
4 changed files with 57 additions and 23 deletions

View File

@@ -0,0 +1,8 @@
/*
Warnings:
- Made the column `model` on table `ai_prompts_metadata` required. This step will fail if there are existing NULL values in that column.
*/
-- AlterTable
ALTER TABLE "ai_prompts_metadata" ALTER COLUMN "model" SET NOT NULL;