mirror of
https://github.com/openai/codex.git
synced 2026-05-03 10:56:37 +00:00
661 B
661 B
name, description
| name | description |
|---|---|
| code-review-context | Model visible context |
Codex maintains a context (history of messages) that is sent to the model in inference requests.
- No history rewrite - the context must be built up incrementally.
- Avoid frequent changes to context that cause cache misses.
- No unbounded items - everything injected in the model context must have a bounded size and a hard cap.
- No items larger than 10K tokens.
- Highlight new individual items that can cross >1k tokens as P0. These need an additional manual review.
- All injected fragments must be defined as structs in
core/contextand implement ContextualUserFragment trait