Allow to initiate new conversations

This commit is contained in:
mudler
2024-04-06 16:08:04 +02:00
parent 90fd130e31
commit 84c56f6c3e
4 changed files with 101 additions and 9 deletions

View File

@@ -21,6 +21,7 @@ type options struct {
userActions Actions
enableHUD, standaloneJob, showCharacter bool
debugMode bool
initiateConversations bool
characterfile string
statefile string
context context.Context
@@ -64,6 +65,11 @@ var EnableHUD = func(o *options) error {
return nil
}
var EnableInitiateConversations = func(o *options) error {
o.initiateConversations = true
return nil
}
var DebugMode = func(o *options) error {
o.debugMode = true
return nil