internal

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAPIKey

func GetAPIKey() string

func GetDistro

func GetDistro() (distro string)

func GetFileLocation

func GetFileLocation() string

func GetHistoryLocation

func GetHistoryLocation() string

Types

type History

type History struct {
	HistoryMap  map[string]HistoryItem
	HistoryList []HistoryItem
}

type HistoryItem

type HistoryItem struct {
	Query  Query
	Output string
	Date   string
}

type Input

type Input struct {
	InputString string
}

type Model

type Model struct {
	SelectedModel string
}

type Output

type Output struct {
	OutputString string
}

type Prompt

type Prompt struct {
	PromptString string
	Model        string
}

type Query

type Query struct {
	InputString   string
	PromptString  string
	SelectedModel string
}

type Theme

type Theme struct {
	ActiveBorderCol   tcell.Color
	InactiveBorderCol tcell.Color
	SecondaryCol      tcell.Color
	TitleCol          tcell.Color
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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