aitext

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TextAIModel

type TextAIModel struct {
	// contains filtered or unexported fields
}

func TextAIInputModel

func TextAIInputModel(modelName string) TextAIModel

TextAIInputModel initializes the text input model

func (TextAIModel) Init

func (m TextAIModel) Init() tea.Cmd

Init initializes the tea program for text input

func (TextAIModel) Update

func (m TextAIModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

Update processes input and switches to output model after 'Enter'

func (TextAIModel) View

func (m TextAIModel) View() string

View displays the text input and response view

Jump to

Keyboard shortcuts

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