pub struct AgentJobConfig {
pub model: String,
pub api_key: String,
pub workspace: Option<String>,
pub system_prompt: Option<String>,
pub base_url: Option<String>,
}Expand description
Agent configuration for agent-mode cron jobs
Fields§
§model: StringLLM model identifier (e.g., “claude-sonnet-4-20250514”)
api_key: StringAPI key for the LLM provider
workspace: Option<String>Workspace directory (defaults to job working_dir)
system_prompt: Option<String>System prompt override
base_url: Option<String>Base URL override for the LLM API
Trait Implementations§
Source§impl Clone for AgentJobConfig
impl Clone for AgentJobConfig
Source§fn clone(&self) -> AgentJobConfig
fn clone(&self) -> AgentJobConfig
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 AgentJobConfig
impl Debug for AgentJobConfig
Source§impl<'de> Deserialize<'de> for AgentJobConfig
impl<'de> Deserialize<'de> for AgentJobConfig
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 AgentJobConfig
impl RefUnwindSafe for AgentJobConfig
impl Send for AgentJobConfig
impl Sync for AgentJobConfig
impl Unpin for AgentJobConfig
impl UnsafeUnpin for AgentJobConfig
impl UnwindSafe for AgentJobConfig
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