pub struct CodexConfig {Show 16 fields
pub executable: String,
pub json_line_bytes: u64,
pub csi_bytes: u64,
pub context_file_bytes: u64,
pub tail_lines: u64,
pub tail_line_bytes: u64,
pub close_wait_ms: u64,
pub exit_wait_ms: u64,
pub start_timeout_ms: u64,
pub request_timeout_ms: u64,
pub sandbox_probe_timeout_ms: u64,
pub sandbox_probe_lifetime_secs: u64,
pub sandbox_error_chars: u64,
pub tree_scans: u64,
pub tool_check_lifetime_secs: u64,
pub tool_command_timeout_ms: u64,
}Expand description
Codex app-server AgentHandler configuration.
Fields§
§executable: StringExecutable visible to the AI6-owned terminal environment.
json_line_bytes: u64Bytes of one line of the app server’s output a Run holds before handing over what it has. Default 67108864 (64 MiB).
csi_bytes: u64Bytes of one terminal control sequence before it is dropped, from the app server’s output and from the commands of the tool check. Default 64.
context_file_bytes: u64Bytes an assistant’s context file may hold. Default 1048576 (1 MiB).
tail_lines: u64How many of the last non-JSON lines a failed Run quotes. Default 8.
tail_line_bytes: u64Bytes of each of those lines a failed Run quotes. Default 512.
close_wait_ms: u64Milliseconds a closing Run waits for the app server to have exited. Default 2000.
exit_wait_ms: u64Milliseconds the end of the output waits for the app server’s exit status. Default 1000.
start_timeout_ms: u64Milliseconds the app server may take to answer initialize. Default 20000.
request_timeout_ms: u64Milliseconds the app server may take to answer a thread request (thread/start,
thread/resume, config/read). Default 30000.
sandbox_probe_timeout_ms: u64Milliseconds the sandbox probe of an assistant’s scripts may run. Default 60000.
sandbox_probe_lifetime_secs: u64Seconds the answer of that probe stands per executable and configuration environment. Default 900.
sandbox_error_chars: u64Characters of the probe’s last output line quoted when the sandbox did not run. Default 300.
tree_scans: u64On Unix, how many times the process table is read again when the sandbox probe’s process tree is killed. Default 32; Windows ignores it.
tool_check_lifetime_secs: u64Seconds the tool check’s feature list stands for the same Codex, settings and environment. Default 900.
tool_command_timeout_ms: u64Milliseconds one of the tool check’s commands may run. Default 120000.
Trait Implementations§
Source§impl Clone for CodexConfig
impl Clone for CodexConfig
Source§impl Debug for CodexConfig
impl Debug for CodexConfig
Source§impl Default for CodexConfig
impl Default for CodexConfig
Source§impl FromValue for CodexConfig
impl FromValue for CodexConfig
Source§const KINDS: Kinds = ::ai6::guatiao::Kinds::MAP
const KINDS: Kinds = ::ai6::guatiao::Kinds::MAP
from_value may accept; any
other is refused. Every impl in this crate and every derived one
says; the default, [Kinds::ANY], claims every kind, which keeps
a type that does not say out of an enum told apart by kind.