Documentation
¶
Index ¶
Constants ¶
View Source
const ProviderName = "google"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleClient ¶
type GoogleClient struct {
ai.BaseAIClient
// contains filtered or unexported fields
}
func NewGoogleClient ¶ added in v0.11.0
func NewGoogleClient(ctx context.Context, provider, apiKey, model, baseURL string) (*GoogleClient, error)
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
Click to show internal directories.
Click to hide internal directories.