mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-08 03:01:47 +00:00
docs(codex): clarify OAuth auth prerequisite
This commit is contained in:
parent
f13b349b9a
commit
ca8e68822d
2 changed files with 16 additions and 2 deletions
|
|
@ -26,10 +26,17 @@ Requires the codex CLI and a git repository.
|
|||
## Prerequisites
|
||||
|
||||
- Codex installed: `npm install -g @openai/codex`
|
||||
- OpenAI API key configured
|
||||
- OpenAI auth configured: either `OPENAI_API_KEY` or Codex OAuth credentials
|
||||
from the Codex CLI login flow
|
||||
- **Must run inside a git repository** — Codex refuses to run outside one
|
||||
- Use `pty=true` in terminal calls — Codex is an interactive terminal app
|
||||
|
||||
For Hermes itself, `model.provider: openai-codex` uses Hermes-managed Codex
|
||||
OAuth from `~/.hermes/auth.json` after `hermes auth add openai-codex`. For the
|
||||
standalone Codex CLI, a valid CLI OAuth session may live under
|
||||
`~/.codex/auth.json`; do not treat a missing `OPENAI_API_KEY` alone as proof
|
||||
that Codex auth is missing.
|
||||
|
||||
## One-Shot Tasks
|
||||
|
||||
```
|
||||
|
|
|
|||
|
|
@ -44,10 +44,17 @@ Requires the codex CLI and a git repository.
|
|||
## Prerequisites
|
||||
|
||||
- Codex installed: `npm install -g @openai/codex`
|
||||
- OpenAI API key configured
|
||||
- OpenAI auth configured: either `OPENAI_API_KEY` or Codex OAuth credentials
|
||||
from the Codex CLI login flow
|
||||
- **Must run inside a git repository** — Codex refuses to run outside one
|
||||
- Use `pty=true` in terminal calls — Codex is an interactive terminal app
|
||||
|
||||
For Hermes itself, `model.provider: openai-codex` uses Hermes-managed Codex
|
||||
OAuth from `~/.hermes/auth.json` after `hermes auth add openai-codex`. For the
|
||||
standalone Codex CLI, a valid CLI OAuth session may live under
|
||||
`~/.codex/auth.json`; do not treat a missing `OPENAI_API_KEY` alone as proof
|
||||
that Codex auth is missing.
|
||||
|
||||
## One-Shot Tasks
|
||||
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue