mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-08 20:57:08 +08:00
fix: choose provider correctly (#7081)
fix no provider error in caption generate action
This commit is contained in:
@@ -455,7 +455,7 @@ model AiPrompt {
|
||||
// an mark identifying which view to use to display the session
|
||||
// it is only used in the frontend and does not affect the backend
|
||||
action String? @db.VarChar
|
||||
model String? @db.VarChar
|
||||
model String @db.VarChar
|
||||
createdAt DateTime @default(now()) @map("created_at") @db.Timestamptz(6)
|
||||
|
||||
messages AiPromptMessage[]
|
||||
|
||||
Reference in New Issue
Block a user