feat: add option to strip thinking from output (#100)
Signed-off-by: mudler <mudler@localai.io>
This commit is contained in:
committed by
GitHub
parent
bd1b06f326
commit
1109b0a533
@@ -25,6 +25,7 @@ type options struct {
|
||||
randomIdentity bool
|
||||
userActions types.Actions
|
||||
enableHUD, standaloneJob, showCharacter, enableKB, enableSummaryMemory, enableLongTermMemory bool
|
||||
stripThinkingTags bool
|
||||
|
||||
canStopItself bool
|
||||
initiateConversations bool
|
||||
@@ -377,3 +378,8 @@ func WithObserver(observer Observer) Option {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
var EnableStripThinkingTags = func(o *options) error {
|
||||
o.stripThinkingTags = true
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user