Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix(blocks): clean up file input base64 description (#13032)

Lucas Macae869f7ecf3
diff --git a/autogpt_platform/backend/backend/blocks/io.py b/autogpt_platform/backend/backend/blocks/io.py
index 67aa8b54e2..b4ff8f7a6c 100644
--- a/autogpt_platform/backend/backend/blocks/io.py
+++ b/autogpt_platform/backend/backend/blocks/io.py
@@ -407,7 +407,10 @@ class AgentFileInputBlock(AgentInputBlock):
title="Default Value",
)
base_64: bool = SchemaField(
- description="Whether produce an output in base64 format (not recommended, you can pass the string path just fine accross blocks).",
+ description=(
+ "Whether to produce output in base64 format "
+ "(not recommended; you can pass the file reference across blocks)."
+ ),
default=False,
advanced=True,
title="Produce Base64 Output",
diff --git a/docs/integrations/block-integrations/basic.md b/docs/integrations/block-integrations/basic.md
index 20a25aef2d..b8cd1ce18b 100644
--- a/docs/integrations/block-integrations/basic.md
+++ b/docs/integrations/block-integrations/basic.md
@@ -222,7 +222,7 @@ By default, the block outputs a file path string that other blocks can use to ac
| title | The title of the input. | str | No |
| description | The description of the input. | str | No |
| advanced | Whether to show the input in the advanced section, if the field is not required. | bool | No |
-| base_64 | Whether produce an output in base64 format (not recommended, you can pass the string path just fine accross blocks). | bool | No |
+| base_64 | Whether to produce output in base64 format (not recommended; you can pass the file reference across blocks). | bool | No |
### Outputs