insight

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(cfg Config, prompt string) (string, error)

Generate sends a prompt to the configured LLM and returns the response text.

Types

type Config

type Config struct {
	Model  string // "haiku" (default), "sonnet", "opus"
	APIKey string // optional override; falls back to env vars
}

Jump to

Keyboard shortcuts

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