feat(pierre): add diff chunking and configurable review settings

This commit is contained in:
u80864958
2026-02-13 16:18:49 +01:00
parent 2cb64194b9
commit 61d538d4a5
8 changed files with 261 additions and 24 deletions

View File

@@ -8,14 +8,20 @@ import (
)
type Service struct {
git GitAdapter
chat ChatAdapter
maxChunkSize int
guidelines []string
disableComments bool
git GitAdapter
chat ChatAdapter
}
func New(chat ChatAdapter, git GitAdapter) *Service {
func New(chat ChatAdapter, git GitAdapter, maxChunkSize int, guidelines []string, disableComments bool) *Service {
return &Service{
git: git,
chat: chat,
git: git,
chat: chat,
maxChunkSize: maxChunkSize,
guidelines: guidelines,
disableComments: disableComments,
}
}