Allow to display HUD/character informations to the LLM
This commit is contained in:
@@ -18,6 +18,7 @@ type options struct {
|
||||
randomIdentityGuidance string
|
||||
randomIdentity bool
|
||||
actions Actions
|
||||
enableHUD bool
|
||||
context context.Context
|
||||
}
|
||||
|
||||
@@ -51,6 +52,11 @@ func newOptions(opts ...Option) (*options, error) {
|
||||
return options, nil
|
||||
}
|
||||
|
||||
var EnableHUD = func(o *options) error {
|
||||
o.enableHUD = true
|
||||
return nil
|
||||
}
|
||||
|
||||
func WithLLMAPIURL(url string) Option {
|
||||
return func(o *options) error {
|
||||
o.LLMAPI.APIURL = url
|
||||
|
||||
Reference in New Issue
Block a user