historyutil

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasConfirmationAnswer

func HasConfirmationAnswer(history []*proto.Message) (approved bool, conf *proto.ConfirmationContent)

HasConfirmationAnswer returns true if the last message in the history is a confirmation question waiting for user input.

func WaitsForConfirmation

func WaitsForConfirmation(history []*proto.Message) *proto.Message

WaitsForConfirmation returns true if the last message in the history is a confirmation question waiting for user input.

func WaitsForUser

func WaitsForUser(history []*proto.Message) *proto.Message

Types

This section is empty.

Jump to

Keyboard shortcuts

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