more work on getting the editor to cache and update properly

This commit is contained in:
Kyle Corbitt
2023-06-23 13:23:35 -07:00
parent ca78406ad1
commit bf41069442
5 changed files with 79 additions and 41 deletions

View File

@@ -26,6 +26,8 @@ model PromptVariant {
id String @id @default(uuid()) @db.Uuid
label String
uiId String @default(uuid()) @db.Uuid
visible Boolean @default(true)
sortIndex Int @default(0)
@@ -37,6 +39,8 @@ model PromptVariant {
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
ModelOutput ModelOutput[]
@@index([uiId])
}
model TestScenario {