experimental: codex / ai integration
This commit is contained in:
10
types.go
10
types.go
@@ -209,6 +209,11 @@ type ReviewThread struct {
|
||||
ViewerCanUnresolve bool
|
||||
ViewerCanReply bool
|
||||
Comments []ReviewComment
|
||||
Origin string
|
||||
Provider string
|
||||
Model string
|
||||
HeadOID string
|
||||
Fingerprint string
|
||||
}
|
||||
|
||||
type ReviewComment struct {
|
||||
@@ -225,8 +230,13 @@ type ReviewComment struct {
|
||||
CreatedAt time.Time
|
||||
URL string
|
||||
Reactions []ReactionSummary
|
||||
Origin string
|
||||
Provider string
|
||||
Model string
|
||||
}
|
||||
|
||||
const reviewOriginLocalAI = "local-ai"
|
||||
|
||||
type ReactionSummary struct {
|
||||
Content string
|
||||
Count int
|
||||
|
||||
Reference in New Issue
Block a user