Documentation
¶
Index ¶
Constants ¶
View Source
const CatchUpPause = 20
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Host ¶
type Host interface {
SessionMessagesSnapshot() ([]chatstore.Message, map[int]string)
SystemPromptBtw(disableThinking bool) (string, error)
BtwLinePrefixes() (userPrefix, assistantPrefix string)
ReadBtwInput(out io.Writer, userPrefix, initial string) (string, error)
Config() *config.Root
ModelName() string
Backend() llm.CompletionBackend
}
type OutputMux ¶
type OutputMux struct {
// contains filtered or unexported fields
}
func NewOutputMux ¶
func (*OutputMux) FlushBurst ¶
func (m *OutputMux) FlushBurst()
func (*OutputMux) SetBufferMain ¶
func (m *OutputMux) SetBufferMain()
Click to show internal directories.
Click to hide internal directories.