chatagent

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package chatagent provides a text-only conversational reference harness. The host supplies the model implementation; the harness only builds context and calls EventSink.Model.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Harness

type Harness struct {
	Model string
}

Harness sends the full recorded conversation to a configured model on every turn. It holds no durable in-memory state beyond the event log.

func (Harness) Describe

func (h Harness) Describe(context.Context) (api.Descriptor, error)

Describe declares the configured model and stateless replay contract.

func (Harness) Run

func (h Harness) Run(ctx context.Context, start *api.Start, sink api.EventSink) error

Run builds one turn's context in journal order and lets the host record the model completion.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL