pub struct AgentConfig {Show 13 fields
pub system: Option<String>,
pub tool_choice: Option<ToolChoice>,
pub tool_profile: ToolProfile,
pub temperature: Option<f32>,
pub max_output_tokens: Option<u32>,
pub metadata: BTreeMap<String, String>,
pub provider_request_options: ProviderRequestOptions,
pub team: TeamConfig,
pub task: TaskConfig,
pub workspace: WorkspaceConfig,
pub memory: MemoryConfig,
pub compaction: CompactionConfig,
pub tool_result_paging: Option<ToolResultPagingConfig>,
}Fields§
§system: Option<String>§tool_choice: Option<ToolChoice>§tool_profile: ToolProfile§temperature: Option<f32>§max_output_tokens: Option<u32>§metadata: BTreeMap<String, String>§provider_request_options: ProviderRequestOptions§team: TeamConfig§task: TaskConfig§workspace: WorkspaceConfig§memory: MemoryConfig§compaction: CompactionConfig§tool_result_paging: Option<ToolResultPagingConfig>None (the default) preserves the unpaged behaviour exactly: every
tool result enters the transcript as produced, and read_tool_result
is absent from the agent’s tool roster.
Trait Implementations§
Source§impl Clone for AgentConfig
impl Clone for AgentConfig
Source§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