experimental: codex / ai integration

This commit is contained in:
2026-07-28 20:48:00 +02:00
parent e89c524438
commit 949935a2aa
14 changed files with 2987 additions and 7 deletions

View File

@@ -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