This commit is contained in:
mudler
2024-03-30 22:35:24 +01:00
parent 61e4be0d0c
commit 9926674c38
6 changed files with 194 additions and 24 deletions

View File

@@ -17,6 +17,7 @@ type options struct {
character Character
randomIdentityGuidance string
randomIdentity bool
actions []Action
context context.Context
}
@@ -103,3 +104,10 @@ func WithRandomIdentity(guidance ...string) Option {
return nil
}
}
func WithActions(actions ...Action) Option {
return func(o *options) error {
o.actions = actions
return nil
}
}