Skip to main content

Crate neuron_turn

Crate neuron_turn 

Source
Expand description

Shared toolkit for building operators.

Provides the Provider trait for making model calls, ContextStrategy for managing context between calls, and all the types needed by operator implementations.

Re-exports§

pub use config::NeuronTurnConfig;
pub use context::ContextStrategy;
pub use context::NoCompaction;
pub use convert::content_block_to_part;
pub use convert::content_part_to_block;
pub use convert::content_to_parts;
pub use convert::content_to_user_message;
pub use convert::parts_to_content;
pub use provider::Provider;
pub use provider::ProviderError;
pub use types::*;

Modules§

config
Configuration for NeuronTurn.
context
Context strategy for managing the conversation window.
convert
Bidirectional conversion between layer0 types and internal types.
provider
Provider trait for LLM backends.
types
Internal types for the neuron-turn ReAct loop.