Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(ui): allow to specify region for S3 compatible storage (#10297)

Łukasz Jernaś4a2172c2ffe2
diff --git a/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx b/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx
index 0adf0e8e37..4b36b33028 100644
--- a/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx
+++ b/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx
@@ -198,7 +198,7 @@ const BlobStorageIntegrationSettingsForm = ({
type: state?.type || BlobStorageIntegrationType.S3,
bucketName: state?.bucketName || "",
endpoint: state?.endpoint || null,
- region: state?.region || "",
+ region: state?.region || "auto",
accessKeyId: state?.accessKeyId || "",
secretAccessKey: state?.secretAccessKey || null,
prefix: state?.prefix || "",
@@ -345,8 +345,8 @@ const BlobStorageIntegrationSettingsForm = ({
/>
)}
- {/* Region field - Only shown for AWS S3 */}
- {integrationType === "S3" && (
+ {/* Region field - Only shown for AWS S3 or compatible storage */}
+ {integrationType !== "AZURE_BLOB_STORAGE" && (
<FormField
control={blobStorageForm.control}
name="region"
@@ -356,7 +356,11 @@ const BlobStorageIntegrationSettingsForm = ({
<FormControl>
<Input {...field} />
</FormControl>
- <FormDescription>AWS region (e.g., us-east-1)</FormDescription>
+ <FormDescription>
+ {integrationType === "S3"
+ ? "AWS region (e.g., us-east-1)"
+ : "S3 compatible storage region"}
+ </FormDescription>
<FormMessage />
</FormItem>
)}