Improve image upload in debug drawer
This commit is contained in:
@@ -235,6 +235,9 @@ class ConversationRecorder:
|
||||
},
|
||||
)
|
||||
)
|
||||
# Flush before artifact insert: db.get() below autoflushes and
|
||||
# can otherwise write conversation_artifacts first (FK violation).
|
||||
await db.flush()
|
||||
db.add(
|
||||
ConversationArtifact(
|
||||
id=artifact_id,
|
||||
|
||||
Reference in New Issue
Block a user