codex_cli() routes a chat to the codex command line tool installed on your
own machine. It uses the login Codex already has, or your OpenAI API key with
.use_api_key = TRUE. See codex_cli_chat() for the arguments and for what
happens to Codex's own shell and browser tools.
Value
The result of the requested action; for chat(), an updated
LLMMessage.
Examples
if (FALSE) { # \dontrun{
llm_message("Explain R's S7 classes in three sentences.") |>
chat(codex_cli())
} # }
