simplechat

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	LLMProvider string
	APIKey      string
	Model       string
	BaseURL     string
}

func LoadFromEnv

func LoadFromEnv() *Config

type ConsoleSink

type ConsoleSink struct{}

func NewConsoleSink

func NewConsoleSink() *ConsoleSink

func (*ConsoleSink) Emit

func (s *ConsoleSink) Emit(_ context.Context, event *events.Event) error

type SimpleChat

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

func New

func New(ctx context.Context, cfg *Config) (*SimpleChat, error)

func (*SimpleChat) Run

Jump to

Keyboard shortcuts

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