Help us shape the future of Go! Take the 2026 Go Developer Survey

base

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Default values for search operations
	DefaultSearchTicketsLimit    = 10
	DefaultSearchTicketsDuration = 30
	DefaultCommentsLimit         = 50
)

Variables

This section is empty.

Functions

func IgnorableTool

func IgnorableTool(name string) bool

func WithLLMClient added in v0.1.0

func WithLLMClient(client gollem.LLMClient) func(*Warren)

func WithSlackUpdate

func WithSlackUpdate(updateFunc SlackUpdateFunc) func(*Warren)

Types

type SlackUpdateFunc

type SlackUpdateFunc func(ctx context.Context, ticket *ticket.Ticket) error

SlackUpdateFunc is a callback function to update Slack messages when ticket is updated

type Warren

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

func New

func New(repo interfaces.Repository, ticketID types.TicketID, opts ...func(*Warren)) *Warren

func (*Warren) Configure

func (x *Warren) Configure(ctx context.Context) error

func (*Warren) Description added in v0.14.0

func (x *Warren) Description() string

func (*Warren) Flags

func (x *Warren) Flags() []cli.Flag

func (*Warren) Helper

func (x *Warren) Helper() *cli.Command

func (*Warren) ID added in v0.14.0

func (x *Warren) ID() string

func (*Warren) LogValue

func (x *Warren) LogValue() slog.Value

func (*Warren) Prompt

func (x *Warren) Prompt(ctx context.Context) (string, error)

Prompt returns additional instructions for the system prompt

func (*Warren) Run

func (x *Warren) Run(ctx context.Context, name string, args map[string]any) (map[string]any, error)

func (*Warren) Specs

func (x *Warren) Specs(ctx context.Context) ([]gollem.ToolSpec, error)

Jump to

Keyboard shortcuts

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