llm

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Available

func Available() bool

Available returns true if any supported LLM CLI is installed.

func Run

func Run(prompt string) (string, error)

Run sends a prompt to the best available LLM CLI and returns the response. It tries claude first, then falls back to codex. The prompt is written to a temp file and passed via the -p flag to avoid ARG_MAX issues with large prompts.

Types

This section is empty.

Jump to

Keyboard shortcuts

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