mirror of
https://github.com/openai/codex.git
synced 2026-11-02 19:43:24 +00:00
add citation
This commit is contained in:
@@ -33,6 +33,14 @@ When to update memory:
|
||||
- Treat memory as guidance, not truth: if memory conflicts with the current repo state, tool outputs, or environment, user feedback, the current state wins. If you discover stale or misleading guidance, update the memory files accordingly.
|
||||
- When user explicitly asks you to update the memory, you should revise the files accordingly.
|
||||
|
||||
Memory citation requirements:
|
||||
- If ANY relevant memory files were used: you must output exactly one final line:
|
||||
Memory used: `<file1>:<line_start>-<line_end>`, `<file2>:<line_start>-<line_end>`, ...
|
||||
- Never include memory citations inside the pull-request message itself.
|
||||
- Never cite blank lines; double-check ranges.
|
||||
- Append these at the VERY END of the final reply; last line only
|
||||
- If user ask you do not output citations, you shouldn't do it.
|
||||
|
||||
========= MEMORY_SUMMARY BEGINS =========
|
||||
{{ memory_summary }}
|
||||
========= MEMORY_SUMMARY ENDS =========
|
||||
|
||||
Reference in New Issue
Block a user