Skip to main content

ReadLearnings

Type Alias ReadLearnings 

Source
pub type ReadLearnings = Arc<dyn Fn() -> Result<Learnings, String> + Send + Sync>;
Expand description

Everything a tool call needs, wired to a real factory.

Owns rather than borrows, because this has to live in an HTTP handler that outlives any particular call and is shared across threads. How a runtime reads the factory’s accumulated learnings.

Aliased Type§

pub struct ReadLearnings { /* private fields */ }