cli

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

cli/cli.go Package cli provides the command-line interface for the Agon application.

cli/cli_multimodel.go

cli/cli_pipeline.go Package cli contains the interactive terminal interfaces for Agon, including the pipeline mode UI defined in this file.

cli/mcp_status.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartGUI

func StartGUI(ctx context.Context, cfg *appconfig.Config, cancel context.CancelFunc)

StartGUI initializes and runs the interactive TUI for single-model chat.

func StartMultimodelGUI

func StartMultimodelGUI(ctx context.Context, cfg *Config, provider providers.ChatProvider, cancel context.CancelFunc) error

StartMultimodelGUI initializes and runs the four-column multimodel chat UI.

func StartPipelineGUI added in v0.2.0

func StartPipelineGUI(ctx context.Context, cfg *Config, cancel context.CancelFunc) error

StartPipelineGUI initializes the pipeline Bubble Tea program and blocks until exit.

Types

type Config

type Config = appconfig.Config

Config represents the shared application configuration for the CLI.

type Host

type Host = appconfig.Host

Host represents a configured host entry within the application configuration.

type LLMResponseMeta

type LLMResponseMeta = providers.StreamMetadata

LLMResponseMeta holds timing and tokenization metrics for a model response. This metadata mirrors providers.StreamMetadata for UI presentation.

type Parameters

type Parameters = appconfig.Parameters

Parameters defines the configurable generation parameters for a language model on a host.

Jump to

Keyboard shortcuts

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