insight

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 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 // "flash" (default), "haiku", "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