pub struct AgentAdapterConfig {
pub command: String,
pub args: Vec<String>,
pub prompt_args: Vec<String>,
pub full_permission_args: Option<Vec<String>>,
pub model_args: Vec<String>,
pub effort_args: Vec<String>,
pub model_hint: String,
pub environment: Vec<(OsString, OsString)>,
pub search_dirs: Vec<PathBuf>,
}Fields§
§command: String§args: Vec<String>§prompt_args: Vec<String>Arguments placed immediately before the prompt, for CLIs that take the prompt as a flag value.
full_permission_args: Option<Vec<String>>The CLI’s own full-autonomy arguments, placed after args, when the
user configured permissions = "full"; the approval summary says so.
model_args: Vec<String>Arguments appended for a per-call model; {model} is substituted.
Empty means the adapter does not offer model selection.
effort_args: Vec<String>Arguments appended for a per-call effort; {effort} is substituted.
Empty means the adapter does not offer effort selection.
model_hint: StringDescribes the model argument for the calling model.
environment: Vec<(OsString, OsString)>Environment for the nested process. SCV supplies an instance-private home.
search_dirs: Vec<PathBuf>Per-user install directories searched when command is not on PATH.
Trait Implementations§
Source§impl Clone for AgentAdapterConfig
impl Clone for AgentAdapterConfig
Auto Trait Implementations§
impl Freeze for AgentAdapterConfig
impl RefUnwindSafe for AgentAdapterConfig
impl Send for AgentAdapterConfig
impl Sync for AgentAdapterConfig
impl Unpin for AgentAdapterConfig
impl UnsafeUnpin for AgentAdapterConfig
impl UnwindSafe for AgentAdapterConfig
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