mirror of
https://github.com/openai/codex.git
synced 2026-10-21 17:48:44 +00:00
Make Codex HTTP identity explicit
This commit is contained in:
@@ -59,7 +59,6 @@ use codex_core_api::find_codex_home;
|
||||
use codex_core_api::init_state_db;
|
||||
use codex_core_api::item_event_to_server_notification;
|
||||
use codex_core_api::resolve_installation_id;
|
||||
use codex_core_api::set_default_originator;
|
||||
use codex_core_api::thread_store_from_config;
|
||||
|
||||
#[derive(Debug, Parser)]
|
||||
@@ -82,10 +81,6 @@ fn main() -> anyhow::Result<()> {
|
||||
}
|
||||
|
||||
async fn run_main(arg0_paths: Arg0DispatchPaths) -> anyhow::Result<()> {
|
||||
if let Err(err) = set_default_originator("codex_thread_manager_sample".to_string()) {
|
||||
tracing::warn!("failed to set originator: {err:?}");
|
||||
}
|
||||
|
||||
let args = Args::parse();
|
||||
let prompt = if args.prompt.is_empty() {
|
||||
if std::io::stdin().is_terminal() {
|
||||
|
||||
Reference in New Issue
Block a user