fix: choose provider correctly (#7081)

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

No files matched your search

@@ -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;