Enable reasoning separately

This commit is contained in:
mudler
2024-05-12 22:47:36 +02:00
parent 5c3497a433
commit 24ef65f70d
7 changed files with 46 additions and 9 deletions

View File

@@ -23,6 +23,7 @@ type options struct {
canStopItself bool
initiateConversations bool
forceReasoning bool
characterfile string
statefile string
context context.Context
@@ -78,6 +79,11 @@ var EnableHUD = func(o *options) error {
return nil
}
var EnableForceReasoning = func(o *options) error {
o.forceReasoning = true
return nil
}
var EnableKnowledgeBase = func(o *options) error {
o.enableKB = true
o.kbResults = 5