mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-24 06:34:46 +08:00
docs: rewording
This commit is contained in:
@@ -9,16 +9,17 @@ def present_file_tool(filepaths: list[str]) -> str:
|
|||||||
|
|
||||||
- Making any file available for the user to view, download, or interact with
|
- Making any file available for the user to view, download, or interact with
|
||||||
- Presenting multiple related files at once
|
- Presenting multiple related files at once
|
||||||
- After creating a file that should be presented to the user
|
- After creating files that should be presented to the user
|
||||||
|
|
||||||
When NOT to use the present_files tool:
|
When NOT to use the present_files tool:
|
||||||
- When you only need to read file contents for your own processing
|
- When you only need to read file contents for your own processing
|
||||||
- For temporary or intermediate files not meant for user viewing
|
- For temporary or intermediate files not meant for user viewing
|
||||||
|
|
||||||
|
Notes:
|
||||||
|
- You should call this tool after creating files and moving them to the `/mnt/user-data/outputs` directory.
|
||||||
|
- Use non-parallel tool calling to present files in a single step.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
filepaths: List of absolute file paths to present to the user. **Only** files in `/mnt/user-data/outputs` can be presented.
|
filepaths: List of absolute file paths to present to the user. **Only** files in `/mnt/user-data/outputs` can be presented.
|
||||||
|
|
||||||
Returns:
|
|
||||||
"OK" if the files were presented successfully.
|
|
||||||
"""
|
"""
|
||||||
return "OK"
|
return "OK"
|
||||||
|
|||||||
Reference in New Issue
Block a user