pub struct Environment {
pub cwd: PathBuf,
pub home: PathBuf,
pub config_root: PathBuf,
pub codex_home: PathBuf,
pub agent: Option<String>,
pub bazaar_url: Option<String>,
pub mode: Option<String>,
pub gateway_url: Option<String>,
pub control_plane_url: Option<String>,
pub gateway_project: Option<String>,
pub gateway_model: Option<String>,
}Expand description
The process environment a Session is gathered from.
Fields§
§cwd: PathBuf§home: PathBuf§config_root: PathBufThe platform config directory (~/.config on Linux).
codex_home: PathBuf§agent: Option<String>VISDOM_AGENT.
bazaar_url: Option<String>VISDOM_BAZAAR_URL.
mode: Option<String>VISDOM_TRACING_MODE.
gateway_url: Option<String>VISDOM_GATEWAY_URL: the AI Gateway console.
control_plane_url: Option<String>VISDOM_CONTROL_PLANE_URL.
gateway_project: Option<String>VISDOM_GATEWAY_PROJECT: the gateway project (slug, id or name).
gateway_model: Option<String>VISDOM_GATEWAY_MODEL: the model alias the agent asks the gateway for.
Implementations§
Source§impl Environment
impl Environment
Auto Trait Implementations§
impl Forget for Environment
impl Freeze for Environment
impl Move for Environment
impl RefUnwindSafe for Environment
impl Send for Environment
impl Sync for Environment
impl Unpin for Environment
impl UnsafeUnpin for Environment
impl UnwindSafe for Environment
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