Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime struct {
LLM llm.Client
DB *db.DB
Attachments blobs.Store
Registry *tools.Registry
// Events tells those who watch the thread of the items the run records and the text the model streams.
Events event.Emitter
// Role is the role the turn names, which Run loads the turn into and runs it as.
Role role.Role
}
A Runtime runs one turn. It is given where the data is kept and what its user runs on, and reads the rest itself: the turn, its conversation and workspace, the items, the user's settings and the permissions.
Click to show internal directories.
Click to hide internal directories.