diff --git a/autogpt_platform/backend/backend/api/features/chat/tools/workspace_tools.py b/autogpt_platform/backend/backend/api/features/chat/tools/workspace_tools.py index a435ff04a9..63a781b481 100644 --- a/autogpt_platform/backend/backend/api/features/chat/tools/workspace_tools.py +++ b/autogpt_platform/backend/backend/api/features/chat/tools/workspace_tools.py @@ -382,7 +382,7 @@ class WriteWorkspaceFileTool(BaseTool): return ( "Write or create a file in the user's workspace. " "Provide the content as a base64-encoded string. " - "Maximum file size is 100MB. " + f"Maximum file size is {Config().max_file_size_mb}MB. " "Files are saved to the current session's folder by default. " "Use /sessions//... for cross-session access." )