config

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: MIT Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContext

func NewContext(ctx context.Context, config Configuration) context.Context

Types

type Configuration

type Configuration struct {
	OpenAIModel   string
	AutoMode      bool
	TruncateLimit int
	MD5Rewrites   bool
	// Simple strings.Contains(file,include) matching. Default [""] = include all.
	MD5IncludeList []string
	SupressLogs    bool
	LoggerOutput   string
}

func FromContext

func FromContext(ctx context.Context) Configuration

Jump to

Keyboard shortcuts

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