mirror of
https://github.com/openai/codex.git
synced 2026-11-23 23:10:47 +00:00
WIP: RequestUserInput tool
This commit is contained in:
@@ -137,8 +137,10 @@ impl McpProcess {
|
||||
|
||||
let initialized = self.read_jsonrpc_message().await?;
|
||||
let os_info = os_info::get();
|
||||
let build_version = env!("CARGO_PKG_VERSION");
|
||||
let originator = codex_core::default_client::originator().value;
|
||||
let user_agent = format!(
|
||||
"codex_cli_rs/0.0.0 ({} {}; {}) {} (elicitation test; 0.0.0)",
|
||||
"{originator}/{build_version} ({} {}; {}) {} (elicitation test; 0.0.0)",
|
||||
os_info.os_type(),
|
||||
os_info.version(),
|
||||
os_info.architecture().unwrap_or("unknown"),
|
||||
|
||||
Reference in New Issue
Block a user