cli

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chat

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

Chat controls the chat flow.

func NewChat

func NewChat(user string, model *gemini.ChatSession, opts *ChatOpts) (*Chat, error)

NewChat returns a new Chat.

func (*Chat) StartChat

func (c *Chat) StartChat()

StartChat starts the chat loop.

type ChatOpts

type ChatOpts struct {
	Format     bool
	Style      string
	Multiline  bool
	Terminator string
}

ChatOpts represents Chat configuration options.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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