mirror of
https://github.com/openai/codex.git
synced 2026-04-24 06:35:50 +00:00
agents.md are actually found recursively
This commit is contained in:
@@ -253,11 +253,7 @@ Key flags: `--model/-m`, `--ask-for-approval/-a`.
|
||||
|
||||
## Memory & project docs
|
||||
|
||||
You can give Codex extra instructions and guidance using `AGENTS.md` files. Codex looks for `AGENTS.md` files in the following order and uses the first one:
|
||||
|
||||
1. `AGENTS.md` in the current working directory
|
||||
2. `AGENTS.md` at repo root
|
||||
|
||||
You can provide Codex with additional instructions by adding an `AGENTS.md` file. Codex first checks your current working directory, and if no file is found, it searches upward through parent directories until it reaches the root of your Git repository.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user