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

config

package
v0.7.21 Latest Latest
Warning

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

Go to latest
Published: May 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
	MD5IncludeList []string
	EnableLogs     bool
	LoggerOutput   string
	Temperature    float32
}

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