Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PhindClient ¶
type PhindClient struct {
ai.BaseAIClient
// contains filtered or unexported fields
}
func NewPhindClient ¶
func NewPhindClient(token, model string) *PhindClient
func (*PhindClient) GetCommitMessage ¶
func (*PhindClient) MaybeSummarizeDiff ¶
func (p *PhindClient) MaybeSummarizeDiff(diff string, maxLength int) (string, bool)
func (*PhindClient) ProviderName ¶
func (p *PhindClient) ProviderName() string
func (*PhindClient) SanitizeResponse ¶
func (p *PhindClient) SanitizeResponse(message, commitType string) string
Click to show internal directories.
Click to hide internal directories.