fixups
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user