ai

package
v0.0.0-...-a0986ef Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateChangelog

func GenerateChangelog(prompt string, cfg *config.Config, opts ...Option) (string, error)

GenerateChangelog generates a changelog using the configured AI mode.

func GenerateCommitMessage

func GenerateCommitMessage(gitDiff string, cfg *config.Config, opts ...Option) (string, error)

GenerateCommitMessage generates a commit message from a git diff using the configured AI mode.

func GenerateTimeline

func GenerateTimeline(prompt string, cfg *config.Config, opts ...Option) (string, error)

GenerateTimeline generates a timeline analysis using the configured AI mode.

Types

type Option

type Option func(*options)

Option configures the AI generation behavior.

func WithBaseURL

func WithBaseURL(url string) Option

WithBaseURL overrides the remote server URL (useful for testing).

Jump to

Keyboard shortcuts

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