chat

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Badge

type Badge struct {
	Collapsed bool
	Running   bool
	Block     string
	Asking    bool
	Ended     bool
	Failed    bool
}

type Chat

type Chat struct {
	Params params.Params
	Inst   api.Instance
	Pops   pops.Popup[string]
	Badge  doors.Source[Badge]
}

func (Chat) Chat

func (c Chat) Chat(thread api.ChatThread, s api.ChatState) api.Chat

func (Chat) Main

func (c Chat) Main() gox.Elem

func (Chat) Placeholder

func (c Chat) Placeholder(enabled doors.Beam[bool]) gox.Elem

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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