gemini

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeminiService

type GeminiService struct {
	// contains filtered or unexported fields
}

func NewGeminiService

func NewGeminiService(ctx context.Context, apiKey string, config *config.CommitConfig, trans *i18n.Translations) (*GeminiService, error)

func (*GeminiService) GenerateSuggestions

func (s *GeminiService) GenerateSuggestions(ctx context.Context, info models.CommitInfo, count int) ([]models.CommitSuggestion, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL