Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewModelPicker ¶ added in v0.2.0
NewModelPicker creates and configures the bubbles/list model picker.
Types ¶
type ApprovalBridge ¶
type ApprovalBridge struct {
RequestCh chan ApprovalRequest
}
func NewApprovalBridge ¶
func NewApprovalBridge() *ApprovalBridge
func (*ApprovalBridge) RequestApproval ¶
func (b *ApprovalBridge) RequestApproval(toolName string, args json.RawMessage, preview string) (bool, error)
type ApprovalRequest ¶
type ApprovalRequest struct {
ToolName string
Args json.RawMessage
Preview string
ReplyCh chan bool
}
type ChatMessage ¶
type ModelItem ¶ added in v0.2.0
ModelItem represents a selectable model item in the fuzzy picker.
func (ModelItem) Description ¶ added in v0.2.0
func (ModelItem) FilterValue ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.