Versions in this module Expand all Collapse all v0 v0.0.1 Mar 20, 2026 Changes in this version + func EchoProcessor() chit.Processor + func YieldingProcessor(prompt string, finalResponse string) chit.Processor + type CollectingEmitter struct + Messages []chit.Message + Resources []chit.Resource + func (e *CollectingEmitter) Close() error + func (e *CollectingEmitter) Content() string + func (e *CollectingEmitter) Emit(_ context.Context, msg chit.Message) error + func (e *CollectingEmitter) Push(_ context.Context, resource chit.Resource) error + type MockEmitter struct + CloseFunc func() error + Closed bool + EmitFunc func(ctx context.Context, msg chit.Message) error + Messages []chit.Message + PushFunc func(ctx context.Context, resource chit.Resource) error + Resources []chit.Resource + func (m *MockEmitter) Close() error + func (m *MockEmitter) Emit(ctx context.Context, msg chit.Message) error + func (m *MockEmitter) Push(ctx context.Context, resource chit.Resource) error + type MockProcessor struct + Calls []ProcessCall + ProcessFunc func(ctx context.Context, input string, history []chit.Message) (chit.Result, error) + func (m *MockProcessor) Process(ctx context.Context, input string, history []chit.Message) (chit.Result, error) + type ProcessCall struct + History []chit.Message + Input string