Documentation
¶
Index ¶
Constants ¶
View Source
const ProviderName = "google"
Variables ¶
This section is empty.
Functions ¶
func NewGoogleProClient ¶
Types ¶
type GoogleClient ¶
type GoogleClient struct {
ai.BaseAIClient
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(provider string, client *genai.GenerativeModel) *GoogleClient
func (*GoogleClient) GetCommitMessage ¶
func (*GoogleClient) MaybeSummarizeDiff ¶
func (gc *GoogleClient) MaybeSummarizeDiff(diff string, maxLength int) (string, bool)
func (*GoogleClient) SanitizeResponse ¶
func (gc *GoogleClient) SanitizeResponse(message, commitType string) string
SanitizeResponse cleans Google specific responses if needed. Overrides default.
Click to show internal directories.
Click to hide internal directories.