mirror of
https://github.com/openai/codex.git
synced 2026-04-24 22:54:54 +00:00
chore(prompt) Remove truncation details (#7941)
Fixes #7867 and #7906 ## Summary Update truncation details.
This commit is contained in:
@@ -319,7 +319,7 @@ For casual greetings, acknowledgements, or other one-off conversational messages
|
||||
When using the shell, you must adhere to the following guidelines:
|
||||
|
||||
- When searching for text or files, prefer using `rg` or `rg --files` respectively because `rg` is much faster than alternatives like `grep`. (If the `rg` command is not found, then use alternatives.)
|
||||
- Read files in chunks with a max chunk size of 250 lines. Do not use python scripts to attempt to output larger chunks of a file. Command line output will be truncated after 10 kilobytes or 256 lines of output, regardless of the command used.
|
||||
- Do not use python scripts to attempt to output larger chunks of a file.
|
||||
|
||||
## apply_patch
|
||||
|
||||
|
||||
@@ -285,7 +285,7 @@ For casual greetings, acknowledgements, or other one-off conversational messages
|
||||
When using the shell, you must adhere to the following guidelines:
|
||||
|
||||
- When searching for text or files, prefer using `rg` or `rg --files` respectively because `rg` is much faster than alternatives like `grep`. (If the `rg` command is not found, then use alternatives.)
|
||||
- Do not use python scripts to attempt to output larger chunks of a file. Command line output will be truncated after 10 kilobytes, regardless of the command used.
|
||||
- Do not use python scripts to attempt to output larger chunks of a file.
|
||||
- Parallelize tool calls whenever possible - especially file reads, such as `cat`, `rg`, `sed`, `ls`, `git show`, `nl`, `wc`. Use `multi_tool_use.parallel` to parallelize tool calls and only this.
|
||||
|
||||
## apply_patch
|
||||
|
||||
Reference in New Issue
Block a user