Versions in this module Expand all Collapse all v0 v0.0.8 Jun 20, 2025 Changes in this version + type Adapter interface + CountTokens func(ctx context.Context, llmCommand string, textContent string) (int, error) + GeneratePullRequestSpec func(ctx context.Context, llmCommand string, promptParams map[string]interface{}, ...) (string, error) + type MockAdapter struct + MockError error + MockTokenCount int + MockYAMLOutput string + func NewMockAdapter() *MockAdapter + func (m *MockAdapter) CountTokens(ctx context.Context, llmCommand string, textContent string) (int, error) + func (m *MockAdapter) GeneratePullRequestSpec(ctx context.Context, llmCommand string, promptParams map[string]interface{}, ...) (string, error) + type PinocchioAdapter struct + func NewPinocchioAdapter() *PinocchioAdapter + func (a *PinocchioAdapter) CountTokens(ctx context.Context, llmCommand string, textContent string) (int, error) + func (a *PinocchioAdapter) GeneratePullRequestSpec(ctx context.Context, llmCommand string, promptParams map[string]interface{}, ...) (string, error)