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