
Refs #29733 This pull request introduces a new field to the `StreamingEditFileTool` that lets the model create or overwrite a file in a streaming way. When one of the `assistant.stream_edits` setting / `agent-stream-edits` feature flag is enabled, we are going to disable the `CreateFileTool` so that the agent model can only use `StreamingEditFileTool` for file creation. Release Notes: - N/A --------- Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com> Co-authored-by: Oleksiy Syvokon <oleksiy.syvokon@gmail.com>
459 B
459 B
This is a tool for creating a new file or editing an existing file. For moving or renaming files, you should generally use the terminal
tool with the 'mv' command instead.
Before using this tool:
-
Use the
read_file
tool to understand the file's contents and context -
Verify the directory path is correct (only applicable when creating new files):
- Use the
list_directory
tool to verify the parent directory exists and is the correct location
- Use the