Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunCommand ¶
type RunCommand[T any] struct { ID uuid.UUID Agent bubo.Agent Thread *runstate.Aggregator ResponseSchema *jsonschema.Schema UnmarshalResponse func([]byte) (T, error) Stream bool MaxTurns int ContextVariables types.ContextVars Hook pubsub.Hook[T] }
func NewRunCommand ¶
func NewRunCommand[T any](agent bubo.Agent, thread *runstate.Aggregator, hook pubsub.Hook[T]) (RunCommand[T], error)
func (RunCommand[T]) WithContextVariables ¶
func (r RunCommand[T]) WithContextVariables(contextVariables types.ContextVars) RunCommand[T]
func (RunCommand[T]) WithMaxTurns ¶
func (r RunCommand[T]) WithMaxTurns(maxTurns int) RunCommand[T]
func (RunCommand[T]) WithStream ¶
func (r RunCommand[T]) WithStream(stream bool) RunCommand[T]
Click to show internal directories.
Click to hide internal directories.