pub struct AgentConfig {
pub cognition_budget_per_tick: u32,
pub perception_range: u32,
pub memory_capacity: u32,
pub reasoning_tier_default: u32,
pub motor_tier_default: u32,
pub max_concurrent_agents: u32,
pub inference_timeout_ms: u32,
pub inference_max_tokens: u32,
}Expand description
Agent cognition, perception, and inference parameters.
Fields§
§cognition_budget_per_tick: u32Maximum cognition actions per agent per tick. Default: 3.
perception_range: u32Perception range in tiles. Default: 10.
memory_capacity: u32Maximum memory entries per agent. Default: 32.
reasoning_tier_default: u32Default reasoning tier (0 = reactive, 1 = deliberative, 2 = planning). Default: 1.
motor_tier_default: u32Default motor tier (0 = static, 1 = mobile, 2 = acrobatic). Default: 1.
max_concurrent_agents: u32Maximum concurrently active agents. Default: 64.
inference_timeout_ms: u32Inference request timeout in milliseconds. Default: 5000.
inference_max_tokens: u32Maximum tokens per inference response. Default: 512.
Trait Implementations§
Source§impl Clone for AgentConfig
impl Clone for AgentConfig
Source§fn clone(&self) -> AgentConfig
fn clone(&self) -> AgentConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentConfig
impl Debug for AgentConfig
Source§impl Default for AgentConfig
impl Default for AgentConfig
Source§impl<'de> Deserialize<'de> for AgentConfig
impl<'de> Deserialize<'de> for AgentConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AgentConfig
impl RefUnwindSafe for AgentConfig
impl Send for AgentConfig
impl Sync for AgentConfig
impl Unpin for AgentConfig
impl UnsafeUnpin for AgentConfig
impl UnwindSafe for AgentConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more