mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
fix: clarify list_workspace_files description re cross-session persistence
The description "Current session only by default" was confusing for the LLM, implying the workspace itself is session-scoped. Reworded to clarify the workspace is persistent and only the default view is filtered to the current session.
This commit is contained in:
@@ -327,7 +327,7 @@ class ListWorkspaceFilesTool(BaseTool):
|
||||
|
||||
@property
|
||||
def description(self) -> str:
|
||||
return "List files in persistent workspace. Filter by path_prefix. Current session only by default."
|
||||
return "List files in persistent workspace (survives across sessions). Defaults to current session's files; set include_all_sessions=true for all."
|
||||
|
||||
@property
|
||||
def parameters(self) -> dict[str, Any]:
|
||||
|
||||
Reference in New Issue
Block a user