Merge branch 'run/pg-w2-5' into worktree-giggly-marinating-lamport
# Conflicts: # internal/infrastructure/postgres/postgresdb/models.go
This commit is contained in:
commit
a5cc0acb86
7 files changed
+2080
-2
No files matched your search
@@ -128,6 +128,19 @@ type Mapping struct {
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
|
||||
type Message struct {
|
||||
ID int64
|
||||
MessageID string
|
||||
SessionID string
|
||||
SourceID string
|
||||
Sender string
|
||||
SenderID string
|
||||
Role string
|
||||
Text string
|
||||
Ts int64
|
||||
Search interface{}
|
||||
}
|
||||
|
||||
type PlaybookDispatch struct {
|
||||
PlaybookID string
|
||||
PlaybookVersion string
|
||||
@@ -156,6 +169,19 @@ type ResourceHistory struct {
|
||||
At time.Time
|
||||
}
|
||||
|
||||
type Session struct {
|
||||
SessionID string
|
||||
Platform string
|
||||
BotUser string
|
||||
ChannelID string
|
||||
ThreadID string
|
||||
Title string
|
||||
ParentSessionID string
|
||||
BranchName string
|
||||
CreatedAt int64
|
||||
LastActiveAt int64
|
||||
}
|
||||
|
||||
type Task struct {
|
||||
ID int64
|
||||
Owner string
|
||||
@@ -212,3 +238,20 @@ type Transition struct {
|
||||
ToStatus string
|
||||
Detail string
|
||||
}
|
||||
|
||||
type Turn struct {
|
||||
TurnID string
|
||||
SessionID string
|
||||
SourceID string
|
||||
Status string
|
||||
Attempt int64
|
||||
OwnerID string
|
||||
InputMessageID string
|
||||
AssistantMessageID string
|
||||
PartialText string
|
||||
ResponseText string
|
||||
ToolCalls string
|
||||
Error string
|
||||
CreatedAt int64
|
||||
UpdatedAt int64
|
||||
}
|
||||
Reference in new issue
Block a user